mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
74 lines
2.6 KiB
HTML
74 lines
2.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>Count the rows already fetched from a query</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.ifx-num-rows" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">ifx_num_rows</h1>
|
|
<p class="verinfo">(PHP 4, PHP 5 < 5.2.1)</p><p class="refpurpose"><span class="refname">ifx_num_rows</span> — <span class="dc-title">Count the rows already fetched from a query</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.ifx-num-rows-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>ifx_num_rows</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result_id</code></span>
|
|
) : <span class="type">int</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Gives the number of rows fetched so far for a query with
|
|
<code class="parameter">result_id</code> after a
|
|
<span class="function"><a href="ifx_query.html" class="function">ifx_query()</a></span> or <span class="function"><a href="ifx_do.html" class="function">ifx_do()</a></span>
|
|
query.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.ifx-num-rows-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">result_id</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
<code class="parameter">result_id</code> is a valid resultid returned by
|
|
<span class="function"><a href="ifx_query.html" class="function">ifx_query()</a></span> or
|
|
<span class="function"><a href="ifx_prepare.html" class="function">ifx_prepare()</a></span> (select type queries only!).
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.ifx-num-rows-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns the number of fetched rows or <strong><code>FALSE</code></strong> on errors.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.ifx-num-rows-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="ifx_num_fields.html" class="function" rel="rdfs-seeAlso">ifx_num_fields()</a> - Returns the number of columns in the query</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |