Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

ibase_fetch_object

(PHP 3>= 3.0.7, PHP 4 )

ibase_fetch_object -- InterBaseデータベースからオブジェクトを得る

説明

object ibase_fetch_object ( int result_id)

ibase_query()またはibase_execute ()により得られたresult_idから 擬似オブジェクトとして1行分の結果を取得します。

<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_row()も参照下さい。