[帖]Warning: mysql_num_rows()

WBOY
Release: 2016-06-23 13:46:14
Original
966 people have browsed it

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


回复讨论(解决方案)

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

你的SQL出错了,将mysql_query(...) 改为 mysql_query(''') or die(mysql_error()); 就能看到所有错误。

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