How to colour fields if there is error? Simple question
toplisek
11:02 am on May 9, 2007 (gmt 0)
Hello, I have problem how to do correct code with PHP: 1.colour text and input box if there is an error in form.
Need help.
I have the following code but it is wrong: [PHP] <?PHP (isset($error))? 'class=headingERROR' : 'class=headingCORRECT' ;?> <input name="firstname" class="box" maxlength="30" size="20"> [/PHP]