ifx_htmltbl_result
    (PHP 3 >= 3.0.3, PHP 4, PHP 5)
ifx_htmltbl_result -- 
     クエリ結果の全行を HTML テーブルにフォーマットする
    
説明
int 
ifx_htmltbl_result ( resource result_id [, string html_table_options] )
     取得された行の数またはエラーの場合に FALSE を返します。
    
     クエリ結果 result_id の全ての行を
     HTML テーブルにフォーマットします。オプションの 2 番目の引数は、
     <table> タグのオプションとする文字列です。
    
     
例 1. Informix 結果を HTML テーブルとして出力する 
<?php $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); ?>
 |  
  |