ainoy31 Posted April 22, 2010 Share Posted April 22, 2010 I have this IF statement to check the order status if( ($order->order_status != "waiting") || ($order->order_status != "waiting_for_cust_resp") ) { echo $order->order_status; exit; url_redirect($unsecure_baseref."/existingcustomers.php?t=".$transactionid); } Why would an order status of 'waiting' or "waiting_for_cust_resp" get echo out. It should skip this statement altogether. I have used the trim() function. I am being blind or stupid here. Thanks. Link to comment https://forums.phpfreaks.com/topic/199424-code/ Share on other sites More sharing options...
trq Posted April 22, 2010 Share Posted April 22, 2010 if( ($order->order_status != "waiting") && ($order->order_status != "waiting_for_cust_resp") ) Link to comment https://forums.phpfreaks.com/topic/199424-code/#findComment-1046740 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.