diff --git a/reference/pdo/pdo/construct.xml b/reference/pdo/pdo/construct.xml index 54f09b1bbf..31ae8be724 100644 --- a/reference/pdo/pdo/construct.xml +++ b/reference/pdo/pdo/construct.xml @@ -1,5 +1,5 @@ - + PDO::__construct @@ -184,11 +184,11 @@ try { The following example assumes that &php.ini; contains the following entry to enable a connection to a MySQL database using only the alias mydb: - + + [PDO] pdo.dsn.mydb="mysql:dbname=testdb;host=localhost" - - + - + @@ -123,11 +123,11 @@ The following example shows a PDO_ODBC DSN for connecting to an ODBC database cataloged as testdb in the ODBC driver manager: - + - - + PDO_ODBC DSN example (IBM DB2 uncataloged connection) @@ -135,11 +135,11 @@ odbc:testdb The following example shows a PDO_ODBC DSN for connecting to an IBM DB2 database named SAMPLE using the full ODBC DSN syntax: - + - - + PDO_ODBC DSN example (Microsoft Access uncataloged connection) @@ -147,11 +147,11 @@ odbc:DRIVER={IBM DB2 ODBC DRIVER};HOSTNAME=localhost;PORT=50000;DATABASE=SAMPLE; The following example shows a PDO_ODBC DSN for connecting to a Microsoft Access database stored at C:\db.mdb using the full ODBC DSN syntax: - + - - +