 |
 |
 |
 |
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/ibase-fetch-object.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/ibase-fetch-object.html on line 46
|
 |
 |
 |
 | |
|  |
(PHP 3>= 3.0.7, PHP 4)
ibase_fetch_object - получает объект из БД InterBase. Описаниеobject ibase_fetch_object (int result_id)
Извлекает ряд как псевдообъект из result_id, полученного функцией
ibase_query() или ibase_execute().
<php
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query ($dbh, $stmt);
while ($row = ibase_fetch_object ($sth)) {
print $row->email . "\n";
}
ibase_close ($dbh);
?> |
Последующий вызов ibase_fetch_object() возвратит следующий ряд результирующего набора или
FALSE, если рядов больше нет. См. также ibase_fetch_row(). |  | |
|
 |
 |
 |
 |
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/ibase-fetch-object.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/ibase-fetch-object.html on line 147
|
 |
 |
 |
 | |