<!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>Seek to the next row number</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.sqlite-libversion.html">sqlite_libversion</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.sqlite-num-fields.html">sqlite_num_fields</a></div> <div class="up"><a href="ref.sqlite.html">SQLite Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.sqlite-next" class="refentry"> <div class="refnamediv"> <h1 class="refname">sqlite_next</h1> <h1 class="refname">SQLiteResult::next</h1> <h1 class="refname">SQLiteUnbuffered::next</h1> <p class="verinfo">(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)</p><p class="refpurpose"><span class="refname">sqlite_next</span> -- <span class="refname">SQLiteResult::next</span> -- <span class="refname">SQLiteUnbuffered::next</span> — <span class="dc-title">Seek to the next row number</span></p> </div> <div class="refsect1 description" id="refsect1-function.sqlite-next-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>sqlite_next</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 (method):</p> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>SQLiteResult::next</strong></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>SQLiteUnbuffered::next</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> <span class="function"><strong>sqlite_next()</strong></span> advances the result handle <em><code class="parameter">result</code></em> to the next row. </p> </div> <div class="refsect1 parameters" id="refsect1-function.sqlite-next-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">result</code></em></span> <dd> <p class="para"> The SQLite result resource. This parameter is not required when using the object-oriented method. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.sqlite-next-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success, or <strong><code>FALSE</code></strong> if there are no more rows. </p> </div> <div class="refsect1 seealso" id="refsect1-function.sqlite-next-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.sqlite-seek.html" class="function" rel="rdfs-seeAlso">sqlite_seek()</a> - Seek to a particular row number of a buffered result set</span></li> <li class="member"> <span class="function"><a href="function.sqlite-current.html" class="function" rel="rdfs-seeAlso">sqlite_current()</a> - Fetches the current row from a result set as an array</span></li> <li class="member"> <span class="function"><a href="function.sqlite-rewind.html" class="function" rel="rdfs-seeAlso">sqlite_rewind()</a> - Seek to the first row number</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.sqlite-libversion.html">sqlite_libversion</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.sqlite-num-fields.html">sqlite_num_fields</a></div> <div class="up"><a href="ref.sqlite.html">SQLite Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>