object ibase_fetch_object
(int
result_id)
Fetches a row as a pseudo-object from a result_id obtained either by ibase_query() or ibase_execute().
1 2 <php 3 $dbh = ibase_connect ($host, $username, $password); 4 $stmt = 'SELECT * FROM tblname'; 5 $sth = ibase_query ($dbh, $stmt); 6 while ($row = ibase_fetch_object ($sth)) { 7 print $row->email . "\n"; 8 } 9 ibase_close ($dbh); 10 ?> 11 |
See also ibase_fetch_row().