#38281 [Opn]: Shouldn't example for mysqli_query be $result->free() and not $result->close()?
| From: | bjori@php.net | Date: | Tue, 05 Sep 2006 16:38:33 +0000 |
| Subject: | #38281 [Opn]: Shouldn't example for mysqli_query be $result->free() and not $result->close()? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969373916@lists.php.net to get a copy of this message | ||
ID: 38281
Updated by: bjori@php.net
Reported By: seth at psydpu dot adsl dot dk
Status: Open
-Bug Type: Website problem
+Bug Type: Documentation problem
Operating System: linux
PHP Version: Irrelevant
New Comment:
reclassified as docu problem
Previous Comments:
------------------------------------------------------------------------
[2006-08-01 10:44:56] seth at psydpu dot adsl dot dk
Description:
------------
http://uk.php.net/manual/en/function.mysqli-query.php
Under:
Example 1.Object oriented style
/* free result set */
$result->close();
Shouldn't this be:
$result->free();
NB: Similar to Bug #35055: Error in mysqli_fetch_object()
example
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38281&edit=1