Home > Database > Mysql Tutorial > mysql_fetch_row返回值问题

mysql_fetch_row返回值问题

WBOY
Release: 2016-06-06 09:35:08
Original
1255 people have browsed it

mysql

如题,我想根据他的返回值判断是否查询到了记录,看手册说如果没有返回NULL,但是实际操作有段错误,atoi转换之后让他==0,也是段错误,求助大神们,这个函数的返回值应该怎么判断出错

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