Page 1 of 1

unkown php error please help

Posted: Fri Oct 08, 2010 8:34 am
by popdrop
Me and my friend have been having trouble while making our site.
I get this error when trying the upload feature "Parse error: syntax error, unexpected T_VARIABLE in /home/a6065654/public_html/upload.php on line 3"
Here is all the code for the site: http://cl.ly/d184484c54d399b6bbb8

Re: unkown php error please help

Posted: Fri Oct 08, 2010 8:41 am
by Eran
It's not really unknown, if you'd google it you'd find thousands of similar cases. You have a syntax error, probably the line before it does not close with a semi-colon. By the way, sending people to download your code is rather suspicious, you can post the relevant parts here on the forums.

Re: unkown php error please help

Posted: Fri Oct 08, 2010 8:43 am
by internet-solution
missing semicoln in lines 2 and 3

Code: Select all

$name = $_POST ['name']
$comic = $_POST ['comic']