unexpected T_ECHO

Thread Solved

Join Date: Apr 2008
Posts: 41
Reputation: Borderline is an unknown quantity at this point 
Solved Threads: 1
Borderline Borderline is offline Offline
Light Poster

unexpected T_ECHO

 
0
  #1
Apr 2nd, 2009
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.
Attached Files
File Type: pdf gallery.pdf (10.9 KB, 4 views)
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 214
Reputation: chrishea is an unknown quantity at this point 
Solved Threads: 32
chrishea's Avatar
chrishea chrishea is offline Offline
Posting Whiz in Training

Re: unexpected T_ECHO

 
1
  #2
Apr 2nd, 2009
if you change line 84 to
  1. if (($rowcount % $picsperrow) == 0) {

it eliminates the error and hopefully gives you what you wanted.
Chris
See my list of PHP development tools at:
InnovationsDesign.net
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC