SHOW returns a resultset, too (Bug #38667)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219187 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2006-08-31 18:36:23 +00:00
parent 8c34bbe19b
commit c7388fb042

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry id="function.mysql-num-rows">
<refnamediv>
<refname>mysql_num_rows</refname>
@ -14,7 +14,8 @@
</methodsynopsis>
<para>
Retrieves the number of rows from a result set. This command is only valid
for SELECT statements. To retrieve the number of rows affected by a INSERT,
for statements like SELECT or SHOW that return an actual result set.
To retrieve the number of rows affected by a INSERT,
UPDATE, or DELETE query, use <function>mysql_affected_rows</function>.
</para>
</refsect1>