INeedAGig Posted April 1, 2011 Share Posted April 1, 2011 Hey guys, me again, minor syntax error, can't seem to resolve it. Says it's on line 61, this code snippet is line 61. If ($page == ceil($numofpages) && $page != 1) { Thanks! Link to comment https://forums.phpfreaks.com/topic/232363-syntax-error-unexpected/ Share on other sites More sharing options...
cssfreakie Posted April 1, 2011 Share Posted April 1, 2011 && should be && Link to comment https://forums.phpfreaks.com/topic/232363-syntax-error-unexpected/#findComment-1195334 Share on other sites More sharing options...
INeedAGig Posted April 1, 2011 Author Share Posted April 1, 2011 That did the trick, thanks. Link to comment https://forums.phpfreaks.com/topic/232363-syntax-error-unexpected/#findComment-1195338 Share on other sites More sharing options...
cssfreakie Posted April 1, 2011 Share Posted April 1, 2011 That did the trick, thanks. have a look here, than you also know what it means: http://www.php.net/manual/en/language.operators.logical.php Link to comment https://forums.phpfreaks.com/topic/232363-syntax-error-unexpected/#findComment-1195341 Share on other sites More sharing options...
INeedAGig Posted April 1, 2011 Author Share Posted April 1, 2011 Okay, cool. I'll check it out. Link to comment https://forums.phpfreaks.com/topic/232363-syntax-error-unexpected/#findComment-1195343 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.