(PHP 3>= 3.0.3, PHP 4 )
ifx_htmltbl_result -- 
     クエリー結果の全行を HTML テーブルにフォーマットする
    
説明
int 
ifx_htmltbl_result ( int result_id, string 
[html_table_options])
     取得された行の数またはエラーの場合に FALSE を返します。
    
     クエリー結果 result_id  の全ての行を
     HTML テーブルにフォーマットします。オプションの 2番目の引数は、
     <table> タグのオプションとする文字列です。
    
| 例 1Informix 結果を HTML テーブルとして出力 | $rid = ifx_prepare ("select * from emp where name like " . $name,
                     $connid, IFX_SCROLL);
if (! $rid) {
   ... error ...
}
$rowcount = ifx_affected_rows ($rid);
if ($rowcount > 1000) {
    printf ("Too many rows in result set (%d)\n<br>", $rowcount);
    die ("Please restrict your query<br>\n");
}
if (! ifx_do($rid) {
  ... error ...
}
ifx_htmltbl_result ($rid, "border=\"2\"");
ifx_free_result($rid); | 
 |