Home > PHP > Function > Informix > ifx_htmltbl_result()

ifx_htmltbl_result()

ifx_htmltbl_result - Formats all rows of a query into a HTML table

Syntax

int ifx_htmltbl_result (resource $result_id, string $html_table_options)

Arguments

  • result_id - result_id is a valid resultid returned by ifx_query() or ifx_prepare() (select type queries only!).
  • html_table_options - This optional argument is a string of <table> tag options.

Description

Formats and prints all rows of the result_id query into a HTML table.

Version

PHP 4, <=5.2.0

Return value

Returns the number of fetched rows, or FALSE on errors.