为什么var_dump($result)显示bool(false)
$offset=($page-1)*$pageSize; $sql="select * from video limit".$offset.",".$pageSize; $connect = Db::getInstance()->connect(); $result = mysql_query($sql,$connect); var_dump($result);
$offset=($page-1)*$pageSize; $sql="select * from video limit".$offset.",".$pageSize; $connect = Db::getInstance()->connect(); $result = mysql_query($sql,$connect); var_dump($result);
2015-05-14
举报