<!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 stored result memory for the given statement handle</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli-stmt.field-count.html">mysqli_stmt::$field_count</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.get-result.html">mysqli_stmt::get_result</a></div> <div class="up"><a href="class.mysqli-stmt.html">mysqli_stmt</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="mysqli-stmt.free-result" class="refentry"> <div class="refnamediv"> <h1 class="refname">mysqli_stmt::free_result</h1> <h1 class="refname">mysqli_stmt_free_result</h1> <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli_stmt::free_result</span> -- <span class="refname">mysqli_stmt_free_result</span> — <span class="dc-title">Frees stored result memory for the given statement handle</span></p> </div> <div class="refsect1 description" id="refsect1-mysqli-stmt.free-result-description"> <h3 class="title">Description</h3> <p class="para">Object oriented style</p> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>mysqli_stmt::free_result</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment">Procedural style</p> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>mysqli_stmt_free_result</strong></span> ( <span class="methodparam"><span class="type"><a href="class.mysqli-stmt.html" class="type mysqli_stmt">mysqli_stmt</a></span> <code class="parameter">$stmt</code></span> )</div> <p class="para rdfs-comment"> Frees the result memory associated with the statement, which was allocated by <span class="function"><a href="mysqli-stmt.store-result.html" class="function">mysqli_stmt_store_result()</a></span>. </p> </div> <div class="refsect1 parameters" id="refsect1-mysqli-stmt.free-result-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter"> stmt</code></em></span><dd> <p class="para">Procedural style only: A statement identifier returned by <span class="function"><a href="mysqli.stmt-init.html" class="function">mysqli_stmt_init()</a></span>.</p></dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-mysqli-stmt.free-result-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> <div class="refsect1 seealso" id="refsect1-mysqli-stmt.free-result-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="mysqli-stmt.store-result.html" class="function" rel="rdfs-seeAlso">mysqli_stmt_store_result()</a> - Transfers a result set from a prepared statement</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="mysqli-stmt.field-count.html">mysqli_stmt::$field_count</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.get-result.html">mysqli_stmt::get_result</a></div> <div class="up"><a href="class.mysqli-stmt.html">mysqli_stmt</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>