Well I have a Form and when Invalid data is put into a specific form, the word “Error” appears in that text field within the form. I am REALLY noob to this, but the error seems a bit weird.
[code=php]
<td width=”79%” class=”style2″><input name=”FirstName” type=”text” id=”FirstName” value=”<?php
if($_SESSION[“errorfn”]==1)
{
echo “<class=”error”>Error”;
}
else
{
echo $_SESSION[“fname”];
}
?>” “size=”49″ maxlength=”25”></td>
Thats what I have. Now this is the error.
Parse error: parse error, expecting `‘,” or
The echo “<class=”error”>Error”; line is line 122.
I don’t see it. Where do I need one of those characters?