 |
 |
 |
 |
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/dbase-numfields.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/dbase-numfields.html on line 46
|
 |
 |
 |
 | |
|  |
(PHP 3, PHP 4) dbase_numfields - определяет, сколько полей имеется в БД dBase. Описаниеint dbase_numfields (int dbase_identifier)
Возвращает количество полей (столбцов) в специфицированной БД. Номера
полей находятся в пределах от 0 до dbase_numfields($db)-1,
а номера записей - от 1 до dbase_numrecords($db).
Пример 1. Использование dbase_numfields()
$rec = dbase_get_record($db, $recno);
$nf = dbase_numfields($db);
for ($i=0; $i < $nf; $i++) {
print $rec[$i]."<br>\n";
} | |
|  | |
|
 |
 |
 |
 |
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/dbase-numfields.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/dbase-numfields.html on line 147
|
 |
 |
 |
 | |