#45342 [Opn->Csd]: helpful to list INSERT as a mysql_query() type not returning result set
| From: | danbrown@php.net | Date: | Tue, 24 Jun 2008 19:01:23 +0000 |
| Subject: | #45342 [Opn->Csd]: helpful to list INSERT as a mysql_query() type not returning result set | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-906@lists.php.net to get a copy of this message | ||
ID: 45342
Updated by: danbrown@php.net
Reported By: sdewey at post dot harvard dot edu
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2008-06-23 23:05:37] sdewey at post dot harvard dot edu
Description:
------------
On the manual page for mysql_query(), it would probably be helpful for
some users if you updated the following sentence:
<<<For other type of SQL statements, UPDATE, DELETE, DROP, etc,
mysql_query() returns TRUE on success or FALSE on error.>>>
To include "INSERT" in the list. INSERT is one of the most common
queries not producing a result set (i.e. simply returning TRUE or
FALSE), and this would make things clearer to newer users wondering
about the return value of mysql_query() called with such a statement.
Reproduce code:
---------------
n/a, see above
Expected result:
----------------
n/a, see above
Actual result:
--------------
n/a, see above
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45342&edit=1