ifx_htmltbl_resultとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > ifx_htmltbl_resultの意味・解説 

ifx_htmltbl_result

(No version information available, might be only in CVS)
ifx_htmltbl_result — クエリ結果の全行を HTML テーブルにフォーマットする

説明

int ifx_htmltbl_result ( resource result_id [, string html_table_options] )
クエリ結果 result_id の全ての行を HTML テーブルにフォーマットします。

パラメータ

result_id
result_id is a valid resultid returned by ifx_query() or ifx_prepare() (select type queries only!).
html_table_options
このオプション引数は、<table> タグのオプションとする文字列です。

返り値

取得された行の数、あるいはエラーの場合に FALSE を返します。

例 981. 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);
?>




このページでは「PHP関数リファレンス」からifx_htmltbl_resultを検索した結果を表示しています。
Weblioに収録されているすべての辞書からifx_htmltbl_resultを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からifx_htmltbl_result を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ifx_htmltbl_result」の関連用語

ifx_htmltbl_resultのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ifx_htmltbl_resultのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS