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>'; } 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. 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
Archived
This topic is now archived and is closed to further replies.