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! Quote 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 && Quote 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. Quote 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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/232363-syntax-error-unexpected/#findComment-1195343 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.