cvs: phpdoc /en/reference/pdo/pdo construct.xml /en/reference/pdo_odbc reference.xml

From: Date: Wed, 07 Jan 2009 17:59:12 +0000
Subject: cvs: phpdoc /en/reference/pdo/pdo construct.xml /en/reference/pdo_odbc reference.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2957@lists.php.net to get a copy of this message
bjori Wed Jan 7 17:59:12 2009 UTC Modified files: /phpdoc/en/reference/pdo/pdo construct.xml /phpdoc/en/reference/pdo_odbc reference.xml Log: Don't wrap programlistings in a <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/pdo/construct.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/pdo/pdo/construct.xml diff -u phpdoc/en/reference/pdo/pdo/construct.xml:1.3 phpdoc/en/reference/pdo/pdo/construct.xml:1.4 --- phpdoc/en/reference/pdo/pdo/construct.xml:1.3 Tue Feb 26 13:30:04 2008 +++ phpdoc/en/reference/pdo/pdo/construct.xml Wed Jan 7 17:59:12 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry xml:id="pdo.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>PDO::__construct</refname> @@ -184,11 +184,11 @@ The following example assumes that &php.ini; contains the following entry to enable a connection to a MySQL database using only the alias <literal>mydb</literal>: - <programlisting role="ini"> + </para> + <programlisting role="ini"> [PDO] pdo.dsn.mydb="mysql:dbname=testdb;host=localhost" - </programlisting> - </para> + </programlisting> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo_odbc/reference.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/pdo_odbc/reference.xml diff -u phpdoc/en/reference/pdo_odbc/reference.xml:1.13 phpdoc/en/reference/pdo_odbc/reference.xml:1.14 --- phpdoc/en/reference/pdo_odbc/reference.xml:1.13 Mon Dec 31 15:43:38 2007 +++ phpdoc/en/reference/pdo_odbc/reference.xml Wed Jan 7 17:59:12 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- Purpose: database.vendors --> <!-- Membership: bundled, external, pecl --> @@ -123,11 +123,11 @@ <para> The following example shows a PDO_ODBC DSN for connecting to an ODBC database cataloged as testdb in the ODBC driver manager: - <programlisting><![CDATA[ + </para> + <programlisting><![CDATA[ odbc:testdb ]]> - </programlisting> - </para> + </programlisting> </example> <example> <title>PDO_ODBC DSN example (IBM DB2 uncataloged connection)</title> @@ -135,11 +135,11 @@ The following example shows a PDO_ODBC DSN for connecting to an IBM DB2 database named <userinput>SAMPLE</userinput> using the full ODBC DSN syntax: - <programlisting><![CDATA[ + </para> + <programlisting><![CDATA[ odbc:DRIVER={IBM DB2 ODBC DRIVER};HOSTNAME=localhost;PORT=50000;DATABASE=SAMPLE;PROTOCOL=TCPIP;UID=db2inst1;PWD=ibmdb2; ]]> - </programlisting> - </para> + </programlisting> </example> <example> <title>PDO_ODBC DSN example (Microsoft Access uncataloged connection)</title> @@ -147,11 +147,11 @@ The following example shows a PDO_ODBC DSN for connecting to a Microsoft Access database stored at <userinput>C:\db.mdb</userinput> using the full ODBC DSN syntax: - <programlisting><![CDATA[ + </para> + <programlisting><![CDATA[ odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\\db.mdb;Uid=Admin ]]> - </programlisting> - </para> + </programlisting> </example> </para>

« previous php.doc.cvs (#2957) next »