Home  >  Article  >  Database  >  Warning: mysql_fetch_array() expects parameter 1 to be resou_MySQL

Warning: mysql_fetch_array() expects parameter 1 to be resou_MySQL

WBOY
WBOYOriginal
2016-06-01 13:39:081166browse

bitsCN.com 昨天sasa遇到了这个坑爹的问题,浪费了sasa一个多小时

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in

当你看到这个的警告的时候 肯定是因为你的SQL语句没有执行成功,仔细检查一下数据库配置然后打印出所执行的SQL语句,很可能是不小心打错的小错误。

引以为戒!

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn