JudgementDay Posted February 4, 2012 Share Posted February 4, 2012 I am getting syntax error, unexpected T_BOOLEAN_OR, expecting ',' or ')' with this line, and wondering if anyone knows why? if (isset($_SESSION['order']['customerlastname'] || $_SESSION['order']['deliveryservice'] || $_SESSION['order']['paymentmethod'])) { echo ' | <A class="silver" href="/order/" style="text-decoration: none">ORDER</A>'; } Quote Link to comment https://forums.phpfreaks.com/topic/256383-getting-a-syntax-error-i-have-never-encounted-before/ Share on other sites More sharing options...
JudgementDay Posted February 4, 2012 Author Share Posted February 4, 2012 I needed to isset() all of the sessions. Thanks for taking the time to read my thread. Solved. Quote Link to comment https://forums.phpfreaks.com/topic/256383-getting-a-syntax-error-i-have-never-encounted-before/#findComment-1314401 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.