mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
cleanup <notes> a bit, add example host to the example. This closes one
user comment. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112877 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
156116cb73
commit
0b5e108c67
1 changed files with 9 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue