<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mysqli.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'mysqli.store-result.php',
    1 => 'mysqli::store_result',
    2 => 'Transfers a result set from the last query',
  ),
  'up' => 
  array (
    0 => 'class.mysqli.php',
    1 => 'mysqli',
  ),
  'prev' => 
  array (
    0 => 'mysqli.stmt-init.php',
    1 => 'mysqli::stmt_init',
  ),
  'next' => 
  array (
    0 => 'mysqli.thread-id.php',
    1 => 'mysqli::$thread_id',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mysqli/mysqli/store-result.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysqli.store-result" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqli::store_result</h1>
  <h1 class="refname">mysqli_store_result</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mysqli::store_result</span> -- <span class="refname">mysqli_store_result</span> &mdash; <span class="dc-title">Transfers a result set from the last query</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysqli.store-result-description">
  <h3 class="title">Açıklama</h3>
  <p class="para">Nesne yönelimli kullanım</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>mysqli::store_result</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$mode</code><span class="initializer"> = 0</span></span>): <span class="type"><span class="type"><a href="class.mysqli-result.php" class="type mysqli_result">mysqli_result</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">Yordamsal kullanım</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>mysqli_store_result</strong></span>(<span class="methodparam"><span class="type"><a href="class.mysqli.php" class="type mysqli">mysqli</a></span> <code class="parameter">$mysql</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$mode</code><span class="initializer"> = 0</span></span>): <span class="type"><span class="type"><a href="class.mysqli-result.php" class="type mysqli_result">mysqli_result</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Transfers the result set from the last query on the database connection
   represented by the <code class="parameter">mysql</code> parameter to be used with
   the <span class="function"><a href="mysqli-result.data-seek.php" class="function">mysqli_data_seek()</a></span> function.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-mysqli.store-result-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
   
<dt><code class="parameter">bağlantı</code></dt><dd><p class="para">
Sadece yordamsal tarz: <span class="function"><a href="function.mysqli-connect.php" class="function">mysqli_connect()</a></span> veya
<span class="function"><a href="mysqli.init.php" class="function">mysqli_init()</a></span> işlevinden dönen bir
<span class="classname"><a href="class.mysqli.php" class="classname">mysqli</a></span> nesnesi.
</p></dd>
   
     <dt><code class="parameter">mode</code></dt>
     <dd>
      <p class="para">
       The option that you want to set. As of PHP 8.1, this parameter has no effect. It can be one of the following values:
       <table id="mysqli.store-result.parameters" class="doctable table">
        <caption><strong>Valid options</strong></caption>
        
         <thead>
          <tr>
           <th>Name</th>
           <th>Description</th>
          </tr>

         </thead>

         <tbody class="tbody">
          <tr>
           <td><strong><code><a href="mysqli.constants.php#constant.mysqli-store-result-copy-data">MYSQLI_STORE_RESULT_COPY_DATA</a></code></strong></td>
           <td>Copy results from the internal mysqlnd buffer into the PHP variables fetched. By default,
           mysqlnd will use a reference logic to avoid copying and duplicating results held in memory.
           For certain result sets, for example, result sets with many small rows, the copy approach can
           reduce the overall memory usage because PHP variables holding results may be
           released earlier (available with mysqlnd only)</td>
          </tr>

         </tbody>
        
       </table>

      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqli.store-result-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Returns a buffered result object or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if an error occurred.
  </p>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    <span class="function"><strong>mysqli_store_result()</strong></span> returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in case the query
    didn&#039;t return a result set (if the query was, for example an INSERT
    statement). This function also returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if the reading of the
    result set failed. You can check if you have got an error by checking
    if <span class="function"><a href="mysqli.error.php" class="function">mysqli_error()</a></span> doesn&#039;t return an empty string, if
    <span class="function"><a href="mysqli.errno.php" class="function">mysqli_errno()</a></span> returns a non zero value, or if
    <span class="function"><a href="mysqli.field-count.php" class="function">mysqli_field_count()</a></span> returns a non zero value.
    Also possible reason for this function returning <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> after
    successful call to <span class="function"><a href="mysqli.query.php" class="function">mysqli_query()</a></span> can be too large
    result set (memory for it cannot be allocated). If
    <span class="function"><a href="mysqli.field-count.php" class="function">mysqli_field_count()</a></span> returns a non-zero value, the
    statement should have produced a non-empty result set.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 errors" id="refsect1-mysqli.store-result-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
Eğer mysqli hata bildirimi etkinse (<strong><code><a href="mysqli.constants.php#constant.mysqli-report-error">MYSQLI_REPORT_ERROR</a></code></strong>)
ve istenen işlem başarısız olursa bir uyarı üretilir. Ek olarak, kip
<strong><code><a href="mysqli.constants.php#constant.mysqli-report-strict">MYSQLI_REPORT_STRICT</a></code></strong> ise bunun yerine
<span class="classname"><a href="class.mysqli-sql-exception.php" class="classname">mysqli_sql_exception</a></span> istisnası oluşur.</p>
 </div>


 <div class="refsect1 changelog" id="refsect1-mysqli.store-result-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.4.0</td>
      <td>
       Passing the <code class="parameter">mode</code> parameter is now deprecated.
       The parameter has had no effect as of PHP 8.1.0.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 examples" id="refsect1-mysqli.store-result-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   See <span class="function"><a href="mysqli.multi-query.php" class="function">mysqli_multi_query()</a></span>.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-mysqli.store-result-notes">
  <h3 class="title">Notlar</h3>
  <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
   <p class="para">
    Although it is always good practice to free the memory used by the result
    of a query using the <span class="function"><a href="mysqli-result.free.php" class="function">mysqli_free_result()</a></span> function,
    when transferring large result sets using the
    <span class="function"><strong>mysqli_store_result()</strong></span> this becomes particularly
    important.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-mysqli.store-result-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="mysqli.real-query.php" class="function" rel="rdfs-seeAlso">mysqli_real_query()</a> - Execute an SQL query</span></li>
    <li><span class="function"><a href="mysqli.use-result.php" class="function" rel="rdfs-seeAlso">mysqli_use_result()</a> - Initiate a result set retrieval</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>