Sophie

Sophie

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

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>Returns the current row index</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.sqlite-has-prev.html">sqlite_has_prev</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.sqlite-last-error.html">sqlite_last_error</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-key" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">sqlite_key</h1>
  <h1 class="refname">SQLiteResult::key</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0 and &lt; 5.4.0)</p><p class="refpurpose"><span class="refname">sqlite_key</span> -- <span class="refname">SQLiteResult::key</span> &mdash; <span class="dc-title">Returns the current row index</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.sqlite-key-description">
  <h3 class="title">Description</h3>
  <p class="para">Object oriented style (method):</p>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>SQLiteResult::key</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
    <span class="methodname"><strong>SQLiteResult::key()</strong></span> returns the current row index of
   the buffered result set <em><code class="parameter">result</code></em>.
  </p>
  <p class="para">
   Unlike all other SQLite functions, this function does not have a procedural
   version, and can only be called as a method on a
   <strong class="classname">SQLiteResult</strong> object.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.sqlite-key-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the current row index of the buffered result set
   <em><code class="parameter">result</code></em>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.sqlite-key-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.sqlite-next.html" class="function" rel="rdfs-seeAlso">sqlite_next()</a> - Seek to the next row number</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-has-prev.html">sqlite_has_prev</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.sqlite-last-error.html">sqlite_last_error</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>