mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
77 lines
3.6 KiB
HTML
77 lines
3.6 KiB
HTML
<!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 class="docs"><div id="layout">
|
|
<div id="layout-content"><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, PHP 7)</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">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>fbsql_fetch_row</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result</code></span>
|
|
) : <span class="type">array</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">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
<dt>
|
|
<code class="parameter">
|
|
result</code></dt>
|
|
<dd>
|
|
<p class="para">由 <span class="function"><a href="fbsql_query.html" class="function">fbsql_query()</a></span>
|
|
或 <span class="function"><a href="fbsql_db_query.html" class="function">fbsql_db_query()</a></span> 返回的结果标识符。</p></dd>
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.fbsql-fetch-row-returnvalues">
|
|
<h3 class="title">返回值</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">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="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="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="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="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="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="fbsql_result.html" class="function" rel="rdfs-seeAlso">fbsql_result()</a> - Get result data</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |