<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.odbc-result-all.php',
    1 => 'odbc_result_all',
    2 => 'HTML テーブルとして結果を出力する',
  ),
  'up' => 
  array (
    0 => 'ref.uodbc.php',
    1 => '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' => 'ja',
    '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">HTML テーブルとして結果を出力する</span></p>

 </div>

 <div id="function.odbc-result-all-refsynopsisdiv">
  <div class="warning"><strong class="warning">警告</strong><p class="simpara">この関数は PHP 8.1.0 で
<em>非推奨</em>になります。この関数に頼らないことを強く推奨します。</p></div>
 </div>
 
 <div class="refsect1 description" id="refsect1-function.odbc-result-all-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <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">
   <span class="function"><a href="function.odbc-exec.php" class="function">odbc_exec()</a></span> により作成された結果オブジェクト
   から全ての行を出力します。結果は、HTML テーブル形式で出力されます。
   データはエスケープ<em>されません</em>。
  </p>
  <p class="para">
   この関数は、本番環境で使うことを想定していません。
   つまり、開発中に結果セットを素早く描画させるためだけに使うものだということです。
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.odbc-result-all-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">statement</code></dt>
     <dd>
      <p class="para">
       ODBC 結果オブジェクト
      </p>
     </dd>
    
    
     <dt><code class="parameter">format</code></dt>
     <dd>
      <p class="para">
       テーブルのフォーマット指定。
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.odbc-result-all-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   成功の場合に結果の行数、エラーの場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.odbc-result-all-changelog">
  <h3 class="title">変更履歴</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>バージョン</th>
       <th>説明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
 <td>8.4.0</td>
 <td>
  引数 <code class="parameter">statement</code> は、<span class="classname"><strong class="classname">Odbc\Result</strong></span> クラスのインスタンスを期待するようになりました。
  これより前のバージョンでは、<span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> を期待していました。
 </td>
</tr>

      <tr>
       <td>8.1.0</td>
       <td>
        この関数は、推奨されなくなりました。
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>

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