Re: Strange problem

From: Date: Sat, 01 Feb 2003 12:24:23 +0000
Subject: Re: Strange problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133868@lists.php.net to get a copy of this message
On Saturday 01 February 2003 20:08, Denis L. Menezes wrote: > Hello friends. > > I have the following script. Both the errors show green font when actually > the first error should give a red font. Am I doing something wrong here? > > Quote: > > > if($CategoryName==""){ > Print "<font color=\#FF0000\">You have not entered the category name. > Please go back and enter the category name.</font>"; Exit; > } > if($password==""){ > Print "<font color=\#00FF00\">You have not entered the password. Please > go back and enter the password.</font>"; Exit; > } > > > Unquote Have a look the HTML output resulting from the above code. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The herd instinct among economists makes sheep look like independent thinkers. */

« previous php.general (#133868) next »