Sophie

Sophie

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

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>Refreshes</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="mysqli.reap-async-query.html">mysqli::reap_async_query</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqli.release-savepoint.html">mysqli::release_savepoint</a></div>
 <div class="up"><a href="class.mysqli.html">mysqli</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="mysqli.refresh" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqli::refresh</h1>
  <h1 class="refname">mysqli_refresh</h1>
  <p class="verinfo">(PHP 5 &lt;= 5.3.0)</p><p class="refpurpose"><span class="refname">mysqli::refresh</span> -- <span class="refname">mysqli_refresh</span> &mdash; <span class="dc-title">Refreshes</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-mysqli.refresh-description">
  <h3 class="title">Description</h3>
  <p class="para">Object oriented style</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>mysqli::refresh</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$options</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_refresh</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$options</code></span>
   )</div>

  <p class="para rdfs-comment">
   Flushes tables or caches, or resets the replication server information.
  </p>
 </div>


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

    <dt>
<span class="term"><em><code class="parameter">
link</code></em></span><dd>
<p class="para">Procedural style only: A link identifier
returned by  <span class="function"><a href="function.mysqli-connect.html" class="function">mysqli_connect()</a></span> or  <span class="function"><a href="mysqli.init.html" class="function">mysqli_init()</a></span>
</p></dd>
</dt>

    <dt>

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

      <p class="para">
       The options to refresh, using the MYSQLI_REFRESH_* constants as documented
       within the <a href="mysqli.constants.html" class="link">MySQLi constants</a> documentation.
      </p>
      <p class="para">
       See also the official <a href="http://dev.mysql.com/doc/mysql/en/mysql-refresh.html" class="link external">&raquo;&nbsp;MySQL Refresh</a>
       documentation.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqli.refresh-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   <strong><code>TRUE</code></strong> if the refresh was a success, otherwise <strong><code>FALSE</code></strong>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mysqli.refresh-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="mysqli.poll.html" class="function" rel="rdfs-seeAlso">mysqli_poll()</a> - Poll connections</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="mysqli.reap-async-query.html">mysqli::reap_async_query</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mysqli.release-savepoint.html">mysqli::release_savepoint</a></div>
 <div class="up"><a href="class.mysqli.html">mysqli</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>