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
unkown php error please help
Moderator: General Moderators
Re: unkown php error please help
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.
-
internet-solution
- Forum Contributor
- Posts: 220
- Joined: Thu May 27, 2010 6:27 am
- Location: UK
Re: unkown php error please help
missing semicoln in lines 2 and 3
Code: Select all
$name = $_POST ['name']
$comic = $_POST ['comic']