Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in D:\Damo\shop\shop\lib\mysql.func.php on line 55
function fetchOne($sql,$result_type=MYSQL_ASSOC){
$result=mysql_query($sql);
$row=mysql_fetch_array($result,$result_type);//55行
return $row;
}
请问有啥错误,
哎 自己找到了。。。。 boolean given in 说是我的查询语句是个布尔值 然后仔细看了看 发现确实 表名写错了