RE: [PHP] re: some problems with php form

From: Date: Wed, 19 Oct 2005 18:24:19 +0000
Subject: RE: [PHP] re: some problems with php form
Groups: php.general 
Request: Send a blank email to php-general+get-224343@lists.php.net to get a copy of this message
[snip] <input class="<?PHP if ($error_msg) {echo "error"} else {echo "normal"}?>" id="firstname" name="firstname" type="text" value="<?php echo $_POST['firstname'] ?>"> how would I fix this error? [/snip] You are missing several semi-colons; <input class="<?PHP if ($error_msg) {echo "error";} else {echo "normal";}?>" id="firstname" name="firstname" type="text" value="<?php echo $_POST['firstname']; ?>">

« previous php.general (#224343) next »