cvs: phpdoc /en/functions ibase.xml

From: Date: Fri, 07 Dec 2001 20:51:33 +0000
Subject: cvs: phpdoc /en/functions ibase.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339537@lists.php.net to get a copy of this message
jimw Fri Dec 7 15:51:33 2001 EDT Modified files: /phpdoc/en/functions ibase.xml Log: ibase_connect: fix example, references to php versions. Index: phpdoc/en/functions/ibase.xml diff -u phpdoc/en/functions/ibase.xml:1.35 phpdoc/en/functions/ibase.xml:1.36 --- phpdoc/en/functions/ibase.xml:1.35 Thu Dec 6 20:03:33 2001 +++ phpdoc/en/functions/ibase.xml Fri Dec 7 15:51:32 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.35 $ --> +<!-- $Revision: 1.36 $ --> <reference id="ref.ibase"> <title>InterBase functions</title> <titleabbrev>InterBase</titleabbrev> @@ -91,13 +91,14 @@ <programlisting role="php"> <![CDATA[ <?php - $dbh = ibase_connect ($host, $username, $password); + $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"; + $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); ?> ]]> </programlisting> @@ -105,23 +106,23 @@ </para> <note> <para> - <parameter>buffers</parameter> was added in PHP4-RC2. + <parameter>buffers</parameter> was added in PHP 4.0RC2. </para> </note> <note> <para> - <parameter>dialect</parameter> was added in PHP4-RC2. It is functional + <parameter>dialect</parameter> was added in PHP 4.0RC2. It is functional only with InterBase 6 and versions higher than that. </para> </note> <note> <para> - <parameter>role</parameter> was added in PHP4-RC2. It is functional + <parameter>role</parameter> was added in PHP 4.0RC2. It is functional only with InterBase 5 and versions higher than that. </para> </note> <para> - See also: <function>ibase_pconnect</function>. + See also <function>ibase_pconnect</function>. </para> </refsect1> </refentry>

« previous php.doc (#969339537) next »