 |
ช่วยดูโค้ด sql inner join ให้ ที คะ ไม่รู้ว่า ผิดตรงไหน |
|
 |
|
|
 |
 |
|
Code (SQL)
$sqlorder2 = "select pro_group,pro_id,pro_name,pro_story,pro_status,pro_price,pro_disprice,pro_img,product.pro_id,order_id from product inner join order_detail on product.pro_id = order_detail.pro_id where order_id = '".$_GET["order_id"]."' order by order_id";
echo $sqlorder2;
$reorder2 = mysql_query("$sqlorder2");
while($roworder2 = mysql_fetch_array($reorder2)){
Tag : PHP, MySQL
|
|
 |
 |
 |
 |
Date :
2014-01-23 16:49:22 |
By :
bowy |
View :
649 |
Reply :
3 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอ error ครับ
|
 |
 |
 |
 |
Date :
2014-01-23 16:50:49 |
By :
champkung226 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|