Jump to content

Code


ainoy31

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.