0

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.

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by chrishea
1

if you change line 84 to

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

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

Votes + Comments
Many thanks
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.