Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 10614

php-manual-en-7.2.11-1.mga7.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>Used to get the current value of a statement attribute</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqli-stmt.affected-rows.html">mysqli_stmt::$affected_rows</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.attr-set.html">mysqli_stmt::attr_set</a></div>
 <div class="up"><a href="class.mysqli-stmt.html">mysqli_stmt</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysqli-stmt.attr-get" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqli_stmt::attr_get</h1>
  <h1 class="refname">mysqli_stmt_attr_get</h1>
  <p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">mysqli_stmt::attr_get</span> -- <span class="refname">mysqli_stmt_attr_get</span> &mdash; <span class="dc-title">Used to get the current value of a statement attribute</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysqli-stmt.attr-get-description">
  <h3 class="title">Description</h3>
  <p class="para">Object oriented style</p>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>mysqli_stmt::attr_get</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$attr</code></span>
   )</div>

  <p class="para rdfs-comment">Procedural style</p>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>mysqli_stmt_attr_get</strong></span>
    ( <span class="methodparam"><span class="type"><a href="class.mysqli-stmt.html" class="type mysqli_stmt">mysqli_stmt</a></span> <code class="parameter">$stmt</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$attr</code></span>
   )</div>

  <p class="para rdfs-comment">
   Gets the current value of a statement attribute.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mysqli-stmt.attr-get-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>
<code class="parameter">
stmt</code></dt>
<dd>
<p class="para">Procedural style only: A statement identifier
returned by <span class="function"><a href="mysqli.stmt-init.html" class="function">mysqli_stmt_init()</a></span>.</p></dd>

    
     <dt>
<code class="parameter">attr</code></dt>

     <dd>

      <p class="para">
       The attribute that you want to get.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqli-stmt.attr-get-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>FALSE</code></strong> if the attribute is not found, otherwise returns the value of the attribute.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqli-stmt.affected-rows.html">mysqli_stmt::$affected_rows</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqli-stmt.attr-set.html">mysqli_stmt::attr_set</a></div>
 <div class="up"><a href="class.mysqli-stmt.html">mysqli_stmt</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>