มันขึ้นerror อ่ะคับ
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\project1\over_report.php on line 31
โค้ด
$strSQL2 = "SELECT * FROM over AS a, product AS b ";
$strSQL2 = $strSQL2 . "WHERE a.pro_id = b.pro_id ";
$result2 = mysql_query( $strSQL2, $conn );
while ( $rs = mysql_fetch_array( $result2 ) )
{
Date :
2009-10-06 12:53:15
By :
dexhudmai
No. 5
Guest
Code (PHP)
$strSQL2 = "SELECT * FROM over AS a, product AS b ";
$strSQL2 = $strSQL2 . "WHERE a.pro_id = b.pro_id ";
$result2 = mysql_query( $strSQL2, $conn );
while ( $rs = mysql_fetch_array( $result2 ) )
{
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\paamaishop\admin_order_view.php on line 72
Column 'id_paa' in field list is ambiguous
$sql="select tb_paamai.id_paa, tb_paamai.name_paa, tb_order_detail.number, tb_order_detail.price from tb_paamai,tb_order_detail where tb_paamai.id_paa= tb_order_detail.id_paa and tb_order_detail.id_order='$id_order' ";