toplisek
05-09-2007, 11:03 AM
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 (isset($error)) ? 'class=headingERROR' : 'class=headingCORRECT' ;?>
<input name="firstname" class="box" maxlength="30" size="20">
Regards:)
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 (isset($error)) ? 'class=headingERROR' : 'class=headingCORRECT' ;?>
<input name="firstname" class="box" maxlength="30" size="20">
Regards:)