An error occurred in script 'E:\www\ecommerce\product.php' on line 30:
mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given
Date/Time:12-18-2010 14:54:22
源码:
$q="SELECT sw_id,color,size,price,in_stock FROM specific_widgets LEFT JOIN colors USING(color_id) LEFT JOIN sizes USING(size_id) WHERE gw_id=$gw_id ORDER BY size,color";
$r=mysqli_query($dbc,$q);
if (mysqli_num_rows($r) >= 1)