From 4f37696c7feb00bb6764ab8867897d45a381c8bd Mon Sep 17 00:00:00 2001 From: jim winstead Date: Fri, 7 Dec 2001 20:51:32 +0000 Subject: [PATCH] ibase_connect: fix example, references to php versions. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64246 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ibase.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/functions/ibase.xml b/functions/ibase.xml index 769a39c2d3..3e808e466f 100644 --- a/functions/ibase.xml +++ b/functions/ibase.xml @@ -1,5 +1,5 @@ - + InterBase functions InterBase @@ -91,13 +91,14 @@ magic_quotes_sybase = On email . "\n"; + $sth = ibase_query($dbh, $stmt); + while ($row = ibase_fetch_object($sth)) { + echo $row->email, "\n"; } - ibase_close ($dbh); + ibase_free_result($sth); + ibase_close($dbh); ?> ]]> @@ -105,23 +106,23 @@ magic_quotes_sybase = On - buffers was added in PHP4-RC2. + buffers was added in PHP 4.0RC2. - dialect was added in PHP4-RC2. It is functional + dialect was added in PHP 4.0RC2. It is functional only with InterBase 6 and versions higher than that. - role was added in PHP4-RC2. It is functional + role was added in PHP 4.0RC2. It is functional only with InterBase 5 and versions higher than that. - See also: ibase_pconnect. + See also ibase_pconnect.