Home  >  Article  >  Backend Development  >  php提示错误 mysql_fetch_array() expects parameter 1 to be resource, boolean given

php提示错误 mysql_fetch_array() expects parameter 1 to be resource, boolean given

WBOY
WBOYOriginal
2016-06-23 14:16:39855browse

程序如图

错误提示如下



回复讨论(解决方案)

echo mysql_error(); 看看

echo mysql_error(); 看看

谢谢,问题解决了

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