Magikey
06-29-2004, 10:56 PM
I received this wierd message:
Parse error: parse error, expecting `','' or `';'' in /home/iwdtests/public_html/PHPAdvanced/Registration/register.php on line 176
I understand what parse error means, and was doing well finding my mistakes. However, on line 176, this is the code:
<tr>
<td align="right">Email Address:</td>
<td align="left"><input name="email" type="text" size="25" maxlength="60" value="<?=HTTP_POST_VARS[email]?>"></td>
<td align="left"><small>Use whichever email address you want to receive notices, etc.</small></td>
</tr>
Since value="<?=HTTP_POST_VARS[email]?>"> is the only php on that line, I don't understand where the "," should be placed.
I do know that I am subject to finding more small errors, but this one has me stumped.
Thanks in advanced.
BTW, I'm working from PHP Advanced, by Larry Ullman, page 135.
Peggy
Parse error: parse error, expecting `','' or `';'' in /home/iwdtests/public_html/PHPAdvanced/Registration/register.php on line 176
I understand what parse error means, and was doing well finding my mistakes. However, on line 176, this is the code:
<tr>
<td align="right">Email Address:</td>
<td align="left"><input name="email" type="text" size="25" maxlength="60" value="<?=HTTP_POST_VARS[email]?>"></td>
<td align="left"><small>Use whichever email address you want to receive notices, etc.</small></td>
</tr>
Since value="<?=HTTP_POST_VARS[email]?>"> is the only php on that line, I don't understand where the "," should be placed.
I do know that I am subject to finding more small errors, but this one has me stumped.
Thanks in advanced.
BTW, I'm working from PHP Advanced, by Larry Ullman, page 135.
Peggy