954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

unexpected T_ECHO

I'm experiencing problems with this gallery tutorial - the following error message is being displayed:

Error message: Parse error: syntax error, unexpected T_ECHO in /equinefocus.co.uk/photos/2009-03-21/gallery.php on line 87

I've tried altering line 87 but had no success so far. I removed lines 86-88 out of interest, but the error messageindicated a further problem of a similar nature.

Can anyone point me in the right direction?

File with line numbering/code attached.

Attachments gallery.pdf (10.92KB)
Borderline
Junior Poster in Training
50 posts since Apr 2008
Reputation Points: 11
Solved Threads: 1
 

if you change line 84 to

if (($rowcount % $picsperrow) == 0) {


it eliminates the error and hopefully gives you what you wanted.

chrishea
Nearly a Posting Virtuoso
1,428 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You