AmazingAnt
06-01-2006, 11:19 AM
ok, i have the following code:
<? php
echo "<form action='****.php' method=post><input type='hidden' name='filenumber' maxlength='5' value='";
echo $number;
echo "'><input type='submit' value='Next File'></form>";
?>
it's getting the variable "$number" from elsewhere on the page, but for some reason, when i load the page it keeps saying
"Parse error: parse error, unexpected T_ECHO in C:\*********.php on line ***"
The line number correcsponds to the echo "<form action='****.php' method=post><input type='hidden' name='filenumber' maxlength='5' value='";
any ideas?
<? php
echo "<form action='****.php' method=post><input type='hidden' name='filenumber' maxlength='5' value='";
echo $number;
echo "'><input type='submit' value='Next File'></form>";
?>
it's getting the variable "$number" from elsewhere on the page, but for some reason, when i load the page it keeps saying
"Parse error: parse error, unexpected T_ECHO in C:\*********.php on line ***"
The line number correcsponds to the echo "<form action='****.php' method=post><input type='hidden' name='filenumber' maxlength='5' value='";
any ideas?