cvs: phpdoc /en/reference/ibase/functions ibase-connect.xml
| From: | Philip Olson | Date: | Tue, 21 Jan 2003 02:36:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/ibase/functions ibase-connect.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969351138@lists.php.net to get a copy of this message | ||
philip Mon Jan 20 21:36:44 2003 EDT
Modified files:
/phpdoc/en/reference/ibase/functions ibase-connect.xml
Log:
cleanup <notes> a bit, add example host to the example. This closes one
user comment.
Index: phpdoc/en/reference/ibase/functions/ibase-connect.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-connect.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-connect.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-connect.xml:1.2 Wed Apr 17 02:38:50 2002
+++ phpdoc/en/reference/ibase/functions/ibase-connect.xml Mon Jan 20 21:36:43 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-connect">
<refnamediv>
@@ -48,6 +48,8 @@
<programlisting role="php">
<![CDATA[
<?php
+ $host = 'localhost:/path/to/db';
+
$dbh = ibase_connect($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query($dbh, $stmt);
@@ -63,19 +65,20 @@
</para>
<note>
<para>
- <parameter>buffers</parameter> was added in PHP 4.0RC2.
+ The optional <parameter>buffers</parameter> parameter was added in
+ PHP 4.0.0.
</para>
</note>
<note>
<para>
- <parameter>dialect</parameter> was added in PHP 4.0RC2. It is functional
- only with InterBase 6 and versions higher than that.
+ The optional <parameter>dialect</parameter> parameter was added in PHP
+ 4.0.0 and is functional only with InterBase 6 and up.
</para>
</note>
<note>
<para>
- <parameter>role</parameter> was added in PHP 4.0RC2. It is functional
- only with InterBase 5 and versions higher than that.
+ The optional <parameter>role</parameter> parameter was added in PHP
+ 4.0.0 and is functional only with InterBase 5 and up.
</para>
</note>
<para>