Hi,
I have a script that on a condition it will display a form to enter data into. You will find the code below, followed by the problem (hopefully not too hard):
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"'."\n".
'"http://www.w3.org/TR/html4/strict.dtd">'."\n\n".
'<html lang="en">'."\n".
' <form name="form1" method="post" action="" enctype="multipart/form-data">
' <input type="file" name="imagefile">
' <p> </td><td><input name="submit" type="submit" value="Submit"></p>
' </table>
' </form>
' </body>
' </html>
exit}
The error I get is "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' on line 25" which is:
' <input type="file" name="imagefile">
Any ideas on why this isnt working?
Thanks,
G