yannick Tue Nov 16 15:12:45 2004 EDT
Modified files:
/phpdoc/en/reference/pdo/functions PDO-construct.xml
PDO-setAttribute.xml
PDOStatement-execute.xml
/phpdoc/en/reference/pdo reference.xml
Log:
typo & ws & parse error in exemples
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDO-construct.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/pdo/functions/PDO-construct.xml
diff -u phpdoc/en/reference/pdo/functions/PDO-construct.xml:1.4
phpdoc/en/reference/pdo/functions/PDO-construct.xml:1.5
--- phpdoc/en/reference/pdo/functions/PDO-construct.xml:1.4 Sat Nov 13
17:28:28 2004
+++ phpdoc/en/reference/pdo/functions/PDO-construct.xml Tue Nov 16 15:12:45 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.PDO-construct">
<refnamediv>
<refname>PDO::__construct</refname>
@@ -25,34 +25,34 @@
<variablelist>
<varlistentry><term>Driver invocation</term>
<listitem>
- <para>
- <parameter>dsn</parameter> consists of the PDO driver name, followed
- by a colon, followed by the PDO driver-specific connection syntax.
- For example,
<userinput>'odbc:DSN=SAMPLE;UID=db2inst1;PWD=ibmdb2'</userinput>
- would create a PDO_ODBC connection to an ODBC database, while
- <userinput>'mysql:host=127.0.0.1;dbname=testdb'</userinput> would
create
- a PDO_MYSQL connection to a MySQL database.
- </para>
+ <para>
+ <parameter>dsn</parameter> consists of the PDO driver name, followed
+ by a colon, followed by the PDO driver-specific connection syntax.
+ For example,
<userinput>'odbc:DSN=SAMPLE;UID=db2inst1;PWD=ibmdb2'</userinput>
+ would create a PDO_ODBC connection to an ODBC database, while
+ <userinput>'mysql:host=127.0.0.1;dbname=testdb'</userinput> would
create
+ a PDO_MYSQL connection to a MySQL database.
+ </para>
</listitem>
</varlistentry>
<varlistentry><term>URI invocation</term>
<listitem>
- <para>
- <parameter>dsn</parameter> consists of <userinput>uri:</userinput>
- followed by a URI that defines the location of a file containing
- the DSN string. The URI can specify a local file or a remote URL.
- </para>
+ <para>
+ <parameter>dsn</parameter> consists of <userinput>uri:</userinput>
+ followed by a URI that defines the location of a file containing
+ the DSN string. The URI can specify a local file or a remote URL.
+ </para>
</listitem>
</varlistentry>
<varlistentry><term>Aliasing</term>
<listitem>
- <para>
- <parameter>dsn</parameter> consists of a name
- <parameter>name</parameter> that maps to
- <literal>pdo.dsn.<parameter>name</parameter></literal> in &php.ini;
- defining the DSN string. <parameter>name</parameter> can not contain
- a colon.
- </para>
+ <para>
+ <parameter>dsn</parameter> consists of a name
+ <parameter>name</parameter> that maps to
+ <literal>pdo.dsn.<parameter>name</parameter></literal> in &php.ini;
+ defining the DSN string. <parameter>name</parameter> can not contain
+ a colon.
+ </para>
</listitem>
</varlistentry>
</variablelist>
@@ -64,7 +64,7 @@
<programlisting role="php">
<![CDATA[
<?php
-/* Connect to an ODBC database using driver invocation
+/* Connect to an ODBC database using driver invocation */
$dsn = 'mysql:dbname=testdb;host=127.0.0.1';
$user = 'dbuser';
@@ -99,7 +99,7 @@
<programlisting role="php">
<![CDATA[
<?php
-/* Connect to an ODBC database using driver invocation
+/* Connect to an ODBC database using driver invocation */
$dsn = 'uri:file:///usr/local/dbconnect';
$user = '';
@@ -124,7 +124,7 @@
<programlisting role="php">
<![CDATA[
<?php
-/* Connect to an ODBC database using an alias
+/* Connect to an ODBC database using an alias */
$dsn = 'mydb';
$user = '';
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml
diff -u phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml:1.1
phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml:1.2
--- phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml:1.1 Wed Nov 10
17:21:22 2004
+++ phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml Tue Nov 16
15:12:45 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc.
-->
<refentry id="function.PDO-setAttribute">
<refnamediv>
@@ -24,16 +24,16 @@
<listitem><para>
<literal>PDO_ATTR_CASE</literal>: Force column names to a specific case.
<itemizedlist>
- <listitem><para>
- <literal>PDO_CASE_LOWER</literal>: Force column names to lower case.
- </para></listitem>
- <listitem><para>
- <literal>PDO_CASE_NATURAL</literal>: Leave column names as returned by
- the database driver.
- </para></listitem>
- <listitem><para>
- <literal>PDO_CASE_UPPER</literal>: Force column names to upper case.
- </para></listitem>
+ <listitem><para>
+ <literal>PDO_CASE_LOWER</literal>: Force column names to lower case.
+ </para></listitem>
+ <listitem><para>
+ <literal>PDO_CASE_NATURAL</literal>: Leave column names as returned by
+ the database driver.
+ </para></listitem>
+ <listitem><para>
+ <literal>PDO_CASE_UPPER</literal>: Force column names to upper case.
+ </para></listitem>
</itemizedlist>
</para></listitem>
</itemizedlist>
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml:1.2
phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml:1.3
--- phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml:1.2 Thu Nov
11 03:16:32 2004
+++ phpdoc/en/reference/pdo/functions/PDOStatement-execute.xml Tue Nov 16
15:12:45 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc.
-->
<refentry id="function.PDOStatement-execute">
<refnamediv>
@@ -48,7 +48,7 @@
<programlisting role='php'>
<![CDATA[
<?php
-/* Execute a prepared statement by passing an arary of insert values */
+/* Execute a prepared statement by passing an array of insert values */
$calories = 150;
$colour = 'red';
$sth = $dbh->prepare('SELECT name, colour, calories
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/reference.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/pdo/reference.xml
diff -u phpdoc/en/reference/pdo/reference.xml:1.7
phpdoc/en/reference/pdo/reference.xml:1.8
--- phpdoc/en/reference/pdo/reference.xml:1.7 Sat Nov 13 17:28:27 2004
+++ phpdoc/en/reference/pdo/reference.xml Tue Nov 16 15:12:45 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc.
-->
<reference id="ref.pdo">
<title>PDO Functions</title>
@@ -67,32 +67,32 @@
<itemizedlist>
<listitem>
<para>
- PDO_FIREBIRD - Firebird/Interbase 6
+ PDO_FIREBIRD - Firebird/Interbase 6
</para>
</listitem>
<listitem>
<para>
- PDO_MYSQL - MySQL 3.x/4.0
+ PDO_MYSQL - MySQL 3.x/4.0
</para>
</listitem>
<listitem>
<para>
- PDO_OCI - Oracle Call Interface
+ PDO_OCI - Oracle Call Interface
</para>
</listitem>
<listitem>
<para>
- PDO_ODBC - ODBC v3 (IBM DB2 and unixODBC)
+ PDO_ODBC - ODBC v3 (IBM DB2 and unixODBC)
</para>
</listitem>
<listitem>
<para>
- PDO_PGSQL - PostgreSQL
+ PDO_PGSQL - PostgreSQL
</para>
</listitem>
<listitem>
<para>
- PDO_SQLITE - SQLite 3.x
+ PDO_SQLITE - SQLite 3.x
</para>
</listitem>
</itemizedlist>