Forum Moderators: coopster

Message Too Old, No Replies

unexpected $end?

New to PHP, can't figure out this issue?

         

hybridcoder

4:14 pm on Feb 5, 2010 (gmt 0)

10+ Year Member



Hi, I'm fairly new to working with PHP and am trying to build an image gallery.

I am receiving the following error.
Parse error: syntax error, unexpected $end in /mysite/preupload.php on line 66

I'm not sure what is causing the error as am still learning but I would greatly appreciate and help with this.

Thanks


EDIT: I found the issue, a simple typo.... :/

londrum

4:19 pm on Feb 5, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



you've got a typo on this line
$photo_upload_fields .= <<<HTMEND 

it should be HTMLEND. maybe that will fix it

hybridcoder

4:29 pm on Feb 5, 2010 (gmt 0)

10+ Year Member



Thanks, I looked over the code right after I posted it and saw the typo. Im glad it was an easy fix.