<!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>Check if there are more query results from a multiple query</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli-stmt.insert-id.html">mysqli_stmt::$insert_id</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.next-result.html">mysqli_stmt::next_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.more-results" class="refentry"> <div class="refnamediv"> <h1 class="refname">mysqli_stmt::more_results</h1> <h1 class="refname">mysqli_stmt_more_results</h1> <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli_stmt::more_results</span> -- <span class="refname">mysqli_stmt_more_results</span> — <span class="dc-title">Check if there are more query results from a multiple query</span></p> </div> <div class="refsect1 description" id="refsect1-mysqli-stmt.more-results-description"> <h3 class="title">Description</h3> <p class="para">Object oriented style (method):</p> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>mysqli_stmt::more_results</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment">Procedural style:</p> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>mysqli_stmt_more_results</strong></span> ( <span class="methodparam"><span class="type"><span class="type mysql_stmt">mysql_stmt</span></span> <code class="parameter">$stmt</code></span> )</div> <p class="para rdfs-comment"> Checks if there are more query results from a multiple query. </p> </div> <div class="refsect1 parameters" id="refsect1-mysqli-stmt.more-results-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.more-results-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> if more results exist, otherwise <strong><code>FALSE</code></strong>. </p> </div> <div class="refsect1 seealso" id="refsect1-mysqli-stmt.more-results-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="mysqli-stmt.next-result.html" class="methodname" rel="rdfs-seeAlso">mysqli_stmt::next_result()</a> - Reads the next result from a multiple query</span></li> <li class="member"> <span class="methodname"><a href="mysqli.multi-query.html" class="methodname" rel="rdfs-seeAlso">mysqli::multi_query()</a> - Performs a query on the database</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.insert-id.html">mysqli_stmt::$insert_id</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.next-result.html">mysqli_stmt::next_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>