Re: Unexpected ";"
| From: | John Nichel | Date: | Thu, 19 Feb 2004 18:04:18 +0000 |
| Subject: | Re: Unexpected ";" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178280@lists.php.net to get a copy of this message | ||
Paul Furman wrote:
I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) <= $thumb_num { ------------------------------------^You're missing a closing parentheses...
-- By-Tor.com It's all about the Rush http://www.by-tor.com$tab = ((($pics * $page) - 1) + $pic_num); }Error unexpected ";" on the last line there. I added some extra () to make sure I had everything together & not two statements or something odd like that. The while loop above works with the if statement removed.