mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 13:57:03 +08:00
72 lines
2.6 KiB
HTML
72 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>Return the number of parameters in a prepared query</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.ibase-num-params" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">ibase_num_params</h1>
|
|
<p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">ibase_num_params</span> — <span class="dc-title">Return the number of parameters in a prepared query</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.ibase-num-params-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>ibase_num_params</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$query</code></span>
|
|
) : <span class="type">int</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
This function returns the number of parameters in the prepared query specified
|
|
by <code class="parameter">query</code>. This is the number of binding arguments that
|
|
must be present when calling <span class="function"><a href="ibase_execute.html" class="function">ibase_execute()</a></span>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.ibase-num-params-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">query</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The prepared query handle.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.ibase-num-params-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns the number of parameters as an integer.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.ibase-num-params-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="ibase_prepare.html" class="function" rel="rdfs-seeAlso">ibase_prepare()</a> - Prepare a query for later binding of parameter placeholders and execution</span></li>
|
|
<li class="member"><span class="function"><a href="ibase_param_info.html" class="function" rel="rdfs-seeAlso">ibase_param_info()</a> - Return information about a parameter in a prepared query</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |