Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 4105

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Frees the memory associated with a result</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-field-tell.html">maxdb_field_tell</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-get-client-info.html">maxdb_get_client_info</a></div>
 <div class="up"><a href="ref.maxdb.html">MaxDB Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.maxdb-free-result" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">maxdb_free_result</h1>
  <h1 class="refname">maxdb_result::free</h1>
  <p class="verinfo">(PECL maxdb &gt;= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_free_result</span> -- <span class="refname">maxdb_result::free</span> &mdash; <span class="dc-title">Frees the memory associated with a result</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.maxdb-free-result-description">
  <h3 class="title">Description</h3>
  <p class="para">Procedural style</p>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>maxdb_free_result</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result</code></span>
   )</div>

  <p class="para rdfs-comment">Object oriented style</p>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>maxdb_result::free</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   The  <span class="function"><strong>maxdb_free_result()</strong></span> function frees the memory
   associated with the result represented by the
   <em><code class="parameter">result</code></em> parameter, which was allocated by
    <span class="function"><a href="function.maxdb-query.html" class="function">maxdb_query()</a></span>,  <span class="function"><a href="function.maxdb-store-result.html" class="function">maxdb_store_result()</a></span>
   or  <span class="function"><a href="function.maxdb-use-result.html" class="function">maxdb_use_result()</a></span>.
   </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    You should always free your result with  <span class="function"><strong>maxdb_free_result()</strong></span>,
    when your result resource is not needed anymore.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.maxdb-free-result-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   This function doesn&#039;t return any value.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.maxdb-free-result-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.maxdb-query.html" class="function" rel="rdfs-seeAlso">maxdb_query()</a> - Performs a query on the database</span></li>
    <li class="member"> <span class="function"><a href="function.maxdb-stmt-store-result.html" class="function" rel="rdfs-seeAlso">maxdb_stmt_store_result()</a> - Transfers a result set from a prepared statement</span></li>
    <li class="member"> <span class="function"><a href="function.maxdb-store-result.html" class="function" rel="rdfs-seeAlso">maxdb_store_result()</a> - Transfers a result set from the last query</span></li>
    <li class="member"> <span class="function"><a href="function.maxdb-use-result.html" class="function" rel="rdfs-seeAlso">maxdb_use_result()</a> - Initiate a result set retrieval</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-field-tell.html">maxdb_field_tell</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-get-client-info.html">maxdb_get_client_info</a></div>
 <div class="up"><a href="ref.maxdb.html">MaxDB Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>