note 60699 added to function.mysqli-free-result
| From: | mike at haugland dot ca | Date: | Sat, 14 Jan 2006 08:59:21 +0000 |
| Subject: | note 60699 added to function.mysqli-free-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101743@lists.php.net to get a copy of this message | ||
For a more clarified example of how a result is freed:
<?php
$get_article = $db->query("....");
$data = $get_article->fetch_assoc();
$get_article->free_result();
?>
So you use the variable used to store the query followed by free_result(). In this case
$get_article->free_result();
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-free-result.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60699
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60699&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60699&report=yes
Search -- http://master.php.net/manage/user-notes.php