mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
cc64ab471b
commit
4f37696c7f
1 changed files with 11 additions and 10 deletions
|
@ -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 @@ magic_quotes_sybase = On
|
|||
<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 @@ magic_quotes_sybase = On
|
|||
</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>
|
||||
|
|
Loading…
Reference in a new issue