[DOC-CVS] [doc-en] master: pdo_sqlsrv: fix XML to remove useless wrapping para tags via script
[email protected] (Gina Peter Banyard)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Gina Peter Banyard (Girgias)
Date: 2026-01-19T03:30:35Z
Commit: https://github.com/php/doc-en/commit/ec1dedcd3c431bf620b54871db3c35d6cec900a0
Raw diff: https://github.com/php/doc-en/commit/ec1dedcd3c431bf620b54871db3c35d6cec900a0.diff
pdo_sqlsrv: fix XML to remove useless wrapping para tags via script
Changed paths:
M reference/pdo_sqlsrv/reference.xml
Diff:
diff --git a/reference/pdo_sqlsrv/reference.xml b/reference/pdo_sqlsrv/reference.xml
index cb74f09349c4..57d84ed68b71 100644
--- a/reference/pdo_sqlsrv/reference.xml
+++ b/reference/pdo_sqlsrv/reference.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
- <reference xml:id="ref.pdo-sqlsrv" xmlns="http://docbook.org/ns/docbook">
+<reference xmlns="http://docbook.org/ns/docbook" xml:id="ref.pdo-sqlsrv">
<?phpdoc extension-membership="pecl" ?>
<title>Microsoft SQL Server PDO Driver (PDO_SQLSRV)</title>
<titleabbrev>MS SQL Server PDO Driver</titleabbrev>
@@ -164,38 +164,36 @@
<refsect1 role="examples">
&reftitle.examples;
- <para>
- <example>
- <title>PDO_SQLSRV DSN examples</title>
- <para>
- The following example shows how to connecto to a specified MS SQL Server database:
- <programlisting>
+ <example>
+ <title>PDO_SQLSRV DSN examples</title>
+ <para>
+ The following example shows how to connecto to a specified MS SQL Server database:
+ <programlisting>
<![CDATA[
$c = new PDO("sqlsrv:Server=localhost;Database=testdb", "UserName", "Password");
]]>
- </programlisting>
- </para>
- <para>
- The following example shows how to connect to a MS SQL Server database on
- a specified port:
- <programlisting>
+ </programlisting>
+ </para>
+ <para>
+ The following example shows how to connect to a MS SQL Server database on
+ a specified port:
+ <programlisting>
<![CDATA[
$c = new PDO("sqlsrv:Server=localhost,1521;Database=testdb", "UserName", "Password");
]]>
- </programlisting>
- </para>
- <para>
- The following example shows how to connecto to a SQL Azure database with
- server ID 12345abcde. Note that when you connect to SQL Azure with PDO,
- your username will be UserName@12345abcde (UserName@ServerId).
- <programlisting>
+ </programlisting>
+ </para>
+ <para>
+ The following example shows how to connecto to a SQL Azure database with
+ server ID 12345abcde. Note that when you connect to SQL Azure with PDO,
+ your username will be UserName@12345abcde (UserName@ServerId).
+ <programlisting>
<![CDATA[
$c = new PDO("sqlsrv:Server=12345abcde.database.windows.net;Database=testdb", "UserName@12345abcde", "Password");
]]>
- </programlisting>
- </para>
- </example>
- </para>
+ </programlisting>
+ </para>
+ </example>
</refsect1>
</refentry>