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. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php