#35055 [Opn->Csd]: Error in mysqli_fetch_object() example
| From: | vrana@php.net | Date: | Tue, 01 Nov 2005 18:36:09 +0000 |
| Subject: | #35055 [Opn->Csd]: Error in mysqli_fetch_object() example | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370727@lists.php.net to get a copy of this message | ||
ID: 35055
Updated by: vrana@php.net
Reported By: bugs dot php at blacklettersoftware dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
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.
Both methods can be used plus mysqli_result::free_result(), it was
documented on mysqli_free_result() page.
Previous Comments:
------------------------------------------------------------------------
[2005-11-01 19:07:28] bugs dot php at blacklettersoftware dot com
Description:
------------
The online documentation for the mysqli_fetch_object() function seems
to have an error in Example 1 (object oriented style). The last two
statements read:
/* free result set */
$result->close();
}
/* close connection */
$mysqli->close();
I think the second-last statement should be:
/* free result set */
$result->free();
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35055&edit=1