From 258fb4a35f2b538bcf8dfb11cc93d26b4f4eb593 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Mon, 28 Feb 2000 18:33:42 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@20699 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ibase.xml | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) 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