int ibase_fetch_object
(int result_id);ibase_query()またはibase_execute ()により得られたresult_idから 擬似オブジェクトとして1行分の結果を取得します。
1 2 $dbh = ibase_connect ($host, $username, $password); 3 $stmt = 'SELECT * FROM tblname'; 4 $sth = ibase_query($dbh, $stmt); 5 while ($row = ibase_fetch_object($sth)) { 6 print $row->email . "\n"; 7 } 8 ibase_close($dbh); 9 |
ibase_fetch_row()も参照下さい。