<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.uodbc.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.odbc-result-all.php',
    1 => 'odbc_result_all',
    2 => 'Affiche le r&eacute;sultat sous la forme d\'une table HTML',
  ),
  'up' => 
  array (
    0 => 'ref.uodbc.php',
    1 => 'Fonctions ODBC',
  ),
  'prev' => 
  array (
    0 => 'function.odbc-result.php',
    1 => 'odbc_result',
  ),
  'next' => 
  array (
    0 => 'function.odbc-rollback.php',
    1 => 'odbc_rollback',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/uodbc/functions/odbc-result-all.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.odbc-result-all" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">odbc_result_all</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">odbc_result_all</span> &mdash; <span class="dc-title">Affiche le résultat sous la forme d&#039;une table HTML</span></p>

 </div>

 <div id="function.odbc-result-all-refsynopsisdiv">
  <div class="warning"><strong class="warning">Avertissement</strong><p class="simpara">
 Cette fonction est <em>OBSOLÈTE</em> à partir de PHP 8.1.0.
 Dépendre de cette fonction est fortement déconseillé.
</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.odbc-result-all-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="attribute"><a href="class.deprecated.php">#[\Deprecated]</a> </span><br>
   <span class="methodname"><strong>odbc_result_all</strong></span>(<span class="methodparam"><span class="type">Odbc\Result</span> <code class="parameter">$statement</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$format</code><span class="initializer"> = &quot;&quot;</span></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Affiche toutes les lignes d&#039;un résultat. L&#039;affichage se fait au format HTML.
   Les données <em>ne sont pas</em> échappées.
  </p>
  <p class="para">
   Cette fonction n&#039;est pas supposée être utilisée en environnement de
   production ; elle est prévue pour le développement pour afficher
   rapidement un jeu de résultats.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.odbc-result-all-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">statement</code></dt>
     <dd>
      <p class="para">
       L’objet de résultat ODBC.
      </p>
     </dd>
    
    
     <dt><code class="parameter">format</code></dt>
     <dd>
      <p class="para">
       Permet de modifier l&#039;aspect global de la table.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.odbc-result-all-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Retourne le nombre de lignes du résultat, ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une
   erreur survient.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.odbc-result-all-changelog">
  <h3 class="title">Historique</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
 <td>8.4.0</td>
 <td>
  <code class="parameter">statement</code> attend désormais une instance de
  <span class="classname"><strong class="classname">Odbc\Result</strong></span>; auparavant, un <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> était attendu.
 </td>
</tr>

      <tr>
       <td>8.1.0</td>
       <td>
        Cette fonction a été rendue obsolète.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


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