老是出现mysql_fetch_array(): supplied argument is not a valid MySQL result resource
程序员文章站
2022-04-08 20:37:56
...
总是出现mysql_fetch_array(): supplied argument is not a valid MySQL result resource
总是出现mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\的错误。请各位帮帮忙!
$sql = "select * from `topic` order by id limit $start, $each_page";
mysql_query("set names 'gbk'");
$result = mysql_query($sql);
while (@$row=mysql_fetch_array($result))
------解决方案--------------------
查询失败!
$sql = "select * from `topic` order by id limit $start, $each_page";
$start 和 $each_page 至少有一个不存在或值非法
总是出现mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\的错误。请各位帮帮忙!
$sql = "select * from `topic` order by id limit $start, $each_page";
mysql_query("set names 'gbk'");
$result = mysql_query($sql);
while (@$row=mysql_fetch_array($result))
------解决方案--------------------
查询失败!
$sql = "select * from `topic` order by id limit $start, $each_page";
$start 和 $each_page 至少有一个不存在或值非法
相关文章
相关视频
专题推荐
-
独孤九贱-php全栈开发教程
全栈 170W+
主讲:Peter-Zhu 轻松幽默、简短易学,非常适合PHP学习入门
-
玉女心经-web前端开发教程
入门 80W+
主讲:灭绝师太 由浅入深、明快简洁,非常适合前端学习入门
-
天龙八部-实战开发教程
实战 120W+
主讲:西门大官人 思路清晰、严谨规范,适合有一定web编程基础学习
上一篇: Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result res,该怎么解决
下一篇: php出现Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result解决办法
推荐阅读
-
mysql_fetch_row(): supplied argument is not a valid MySQL result resource,何人能解?该如何解决
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource,该如何处理
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource....
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource....
-
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result res,该怎么解决
-
php出现Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result解决办法
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource,该怎么解决
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource
-
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resour,该怎么解决
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource解决方法
网友评论
文明上网理性发言,请遵守 新闻评论服务协议
我要评论