Home  >  Article  >  Database  >  为什么php mysql_num_rows函数前面需要加@符号啊?

为什么php mysql_num_rows函数前面需要加@符号啊?

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

mysql_num_rowsmysqlphp

<code> 在连接mysql时,需要用到mysql_connect, mysql_select_db, mysql_query等函数,这些函数前面可以不用加上@符号,但是mysql_num_rows前面需要加上@</code>

这是怎么回事?

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