not return of mysql_affected_row when query had failed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40009 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-01-23 01:26:21 +00:00
parent 6d1b6f26ce
commit 9b35c54ee6

View file

@ -61,6 +61,9 @@
statements which modify records. To retrieve the number of rows
returned from a SELECT, use <function>mysql_num_rows</function>.
</para>
<para>
If the last query failed, this function will return -1.
</para>
</refsect1>
</refentry>