 |
 |
 |
 |
Warning: include(../levoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ifx-htmltbl-result.html on line 46
Warning: include() [ function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ifx-htmltbl-result.html on line 46
|
 |
 |
 |
 | |
|  |
(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-таблицы. Необязательный второй аргумент это строка опций тэга
<table>.
Пример 1. Informix-результаты как 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) {
... ошибка ...
}
ifx_htmltbl_result ($rid, "border=\"2\"");
ifx_free_result($rid); |
|
|  | |
|
 |
 |
 |
 |
Warning: include(../pravoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ifx-htmltbl-result.html on line 157
Warning: include() [ function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/ifx-htmltbl-result.html on line 157
|
 |
 |
 |
 | |