Home >Backend Development >PHP Tutorial >[帖]Warning: mysql_num_rows()

[帖]Warning: mysql_num_rows()

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:46:141059browse

   
怎么打开我的网站就在浏览器开头弹出一堆语言警告!!新手求指导,求大大。


回复讨论(解决方案)

具体贴出关键代码,应该是你查询执行没有返回结果集。

你的SQL出错了,将mysql_query(...) 改为 mysql_query(''') or die(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