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

Warning: mysql_fetch_array() expects parameter 1 to be resou_MySQL

WBOY
Release: 2016-06-01 13:39:08
Original
1231 people have browsed it

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

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

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

引以为戒!

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template