Sophie

Sophie

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

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>Return the number of parameters in a prepared query</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ibase-num-fields.html">ibase_num_fields</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ibase-param-info.html">ibase_param_info</a></div>
 <div class="up"><a href="ref.ibase.html">Firebird/InterBase Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ibase-num-params" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ibase_num_params</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">ibase_num_params</span> &mdash; <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">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>ibase_num_params</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$query</code></span>
   )</div>

  <p class="para rdfs-comment">
   This function returns the number of parameters in the prepared query specified
   by <em><code class="parameter">query</code></em>. This is the number of binding arguments that
   must be present when calling  <span class="function"><a href="function.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">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">query</code></em></span>
     <dd>

      <p class="para">
       The prepared query handle.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ibase-num-params-returnvalues">
  <h3 class="title">Return Values</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">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.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="function.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><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ibase-num-fields.html">ibase_num_fields</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ibase-param-info.html">ibase_param_info</a></div>
 <div class="up"><a href="ref.ibase.html">Firebird/InterBase Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>