?php $host = 'localhost: / path / to / your.gdb'; $dbh = ibase_connect($host, $username, $password); $stmt = 'SELECT * FROM tblname'; $sth = ibase_query($dbh, $stmt); while ($row = ibase_fetch_object($sth)) {echo $row - email, "\n";} ibase_free_result($sth); ibase_close($dbh);?
예 1. ibase_connect() example