diff --git a/functions/ibase.xml b/functions/ibase.xml index d1b307c1c4..119447b38e 100644 --- a/functions/ibase.xml +++ b/functions/ibase.xml @@ -4,6 +4,9 @@ + Interbase is a popular database put out by Borland/Inprise. More information about Interbase + is available at http://www.interbase.com. Oh, by the way, Interbase just joined the open + source movement! @@ -33,7 +36,7 @@ $dbh = ibase_connect ($host, $username, $password); $stmt = 'SELECT * FROM tblname'; $sth = ibase_query($dbh, $stmt); while ($row = ibase_fetch_object($sth)) { - print $row->name . "\n"; + print $row->email . "\n"; } ibase_close($dbh); @@ -123,6 +126,38 @@ ibase_close($dbh); + + + ibase_fetch_object + + + + Description + + int ibase_fetch_object + int result_id + + + Fetches a row as a psuedo-object from a result id obtained either by ibase_query or + ibase_execute. + + +$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); + + + + + See also ibase_fetch_row. + + + + ibase_free_result @@ -175,7 +210,7 @@ ibase_close($dbh); Bind Parameters from a query prepared by ibase_prepare. - ibase_bind is currently not functional + ibase_bind is currently not functional in PHP4 @@ -229,7 +264,7 @@ ibase_close($dbh); Sets the format of the datetime columns returned from queries. - ibase_timefmt is currently not functional + ibase_timefmt is currently not functional in PHP4