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

mysql_fetch_row返回值问题

WBOY
WBOYOriginal
2016-06-06 09:35:081256browse

mysql

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

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