34.$sql="select order_detail.*,orders.*,re_product.* from (order_detail inner join orders on order_detail.order_id=orders.order_id)inner join re_product on order_detail.order_id=re_product.order_id where order_id=$order_id and de_status=$de_status and id_pro=$id_pro";
036.$result = mysql_query($sql) or die(mysql_error()."<br />[$sql]");
34.$sql="select order_detail.*,orders.*,re_product.* from (order_detail inner join orders on order_detail.order_id=orders.order_id)inner join re_product on order_detail.order_id=re_product.order_id where orders .order_id=$order_id and de_status=$de_status and id_pro=$id_pro";
Date :
2015-03-18 16:49:27
By :
ไม่ทราบแหล่งที่มา
No. 5
Guest
34.$sql="select order_detail.*,orders.*,re_product.* from (order_detail inner join orders on order_detail.order_id=orders.order_id)inner join re_product on order_detail.order_id=re_product.order_id where orders.order_id=$order_id and de_status=$de_status and id_pro=$id_pro";
34.$sql="select order_detail.*,orders.*,re_product.* from (order_detail inner join orders on order_detail.order_id=orders.order_id)inner join re_product on order_detail.order_id=re_product.order_id where orders.order_id=$order_id and de_status=$de_status and order_detail.id_pro=$id_pro";
$sql="select order_detail.*,orders.*,re_product.* from (order_detail inner join orders on order_detail.order_id=orders.order_id)inner join re_product on order_detail.order_id=re_product.order_id where orders.order_id=$order_id and de_status=$de_status and order_detail.id_pro=$id_pro and order_detail.id_pro=re_product.id_prd ";