You're missing a right bracket within the if statement.

Paul Furman wrote:
***********************************************
This Email Has Been Virus Swept
***********************************************

I don't see what's wrong with this if statement:

while ... and ... {
  if (($pic_num + 1) <= $thumb_num {
     $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.



-- ---------------------- www.curvedvision.com ----------------------


This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information and you are requested to notify the sender immediately of its receipt then destroy the copy in your possession. Any views or opinions expressed are those of the originator and may not represent those of Advanced System Architectures Ltd.


*** This Email Has Been Virus Checked ***

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to