<!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>Get a result row as an enumerated array</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.fbsql-fetch-object.html">fbsql_fetch_object</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.fbsql-field-flags.html">fbsql_field_flags</a></div> <div class="up"><a href="ref.fbsql.html">FrontBase Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.fbsql-fetch-row" class="refentry"> <div class="refnamediv"> <h1 class="refname">fbsql_fetch_row</h1> <p class="verinfo">(PHP 4 >= 4.0.6, PHP 5)</p><p class="refpurpose"><span class="refname">fbsql_fetch_row</span> — <span class="dc-title">Get a result row as an enumerated array</span></p> </div> <div class="refsect1 description" id="refsect1-function.fbsql-fetch-row-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">array</span> <span class="methodname"><strong>fbsql_fetch_row</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result</code></span> )</div> <p class="para rdfs-comment"> <span class="function"><strong>fbsql_fetch_row()</strong></span> fetches one row of data from the result associated with the specified result identifier. </p> <p class="para"> Subsequent call to <span class="function"><strong>fbsql_fetch_row()</strong></span> would return the next row in the result set, or <strong><code>FALSE</code></strong> if there are no more rows. </p> </div> <div class="refsect1 parameters" id="refsect1-function.fbsql-fetch-row-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">A result identifier returned by <span class="function"><a href="function.fbsql-query.html" class="function">fbsql_query()</a></span> or <span class="function"><a href="function.fbsql-db-query.html" class="function">fbsql_db_query()</a></span>.</p></dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.fbsql-fetch-row-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an array that corresponds to the fetched row where each result column is stored in an offset, starting at offset 0, or <strong><code>FALSE</code></strong> if there are no more rows. </p> </div> <div class="refsect1 seealso" id="refsect1-function.fbsql-fetch-row-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.fbsql-fetch-array.html" class="function" rel="rdfs-seeAlso">fbsql_fetch_array()</a> - Fetch a result row as an associative array, a numeric array, or both</span></li> <li class="member"> <span class="function"><a href="function.fbsql-fetch-assoc.html" class="function" rel="rdfs-seeAlso">fbsql_fetch_assoc()</a> - Fetch a result row as an associative array</span></li> <li class="member"> <span class="function"><a href="function.fbsql-fetch-object.html" class="function" rel="rdfs-seeAlso">fbsql_fetch_object()</a> - Fetch a result row as an object</span></li> <li class="member"> <span class="function"><a href="function.fbsql-data-seek.html" class="function" rel="rdfs-seeAlso">fbsql_data_seek()</a> - Move internal result pointer</span></li> <li class="member"> <span class="function"><a href="function.fbsql-fetch-lengths.html" class="function" rel="rdfs-seeAlso">fbsql_fetch_lengths()</a> - Get the length of each output in a result</span></li> <li class="member"> <span class="function"><a href="function.fbsql-result.html" class="function" rel="rdfs-seeAlso">fbsql_result()</a> - Get result data</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.fbsql-fetch-object.html">fbsql_fetch_object</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.fbsql-field-flags.html">fbsql_field_flags</a></div> <div class="up"><a href="ref.fbsql.html">FrontBase Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>