 |
 |
 |
 |
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-fieldtypes.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-fieldtypes.html on line 46
|
 |
 |
 |
 | |
|  |
(PHP 3>= 3.0.3, PHP 4)
ifx_fieldtypes - список Informix SQL-полей. Описаниеarray ifx_fieldtypes (int result_id)
Возвращает ассоциативный массив с fieldnames (именами полей) в качестве ключей и с SQL fieldtypes в качестве данных для запроса с
result_id. Возвращает FALSE при ошибке.
Пример 1. Fieldnames и SQL fieldtypes
$types = ifx_fieldtypes ($resultid);
if (! isset ($types)) {
... error ...
}
for ($i = 0; $i < count($types); $i++) {
$fname = key($types);
printf("%s :\t type = %s\n", $fname, $types[$fname]);
next($types);
} | |
|  | |
|
 |
 |
 |
 |
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-fieldtypes.html on line 147
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-fieldtypes.html on line 147
|
 |
 |
 |
 | |