Doc #68305 [Opn->Csd]: Missing all escape chars in examples for sqlsrv_connect()
| From: | cmb@php.net | Date: | Sun, 06 May 2018 15:45:41 +0000 |
| Subject: | Doc #68305 [Opn->Csd]: Missing all escape chars in examples for sqlsrv_connect() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15656@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68305&edit=1
ID: 68305
Updated by: cmb@php.net
Reported by: h dot spuur at gmail dot com
Summary: Missing all escape chars in examples for
sqlsrv_connect()
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: sqlsrv
Operating System: All
PHP Version: 5.6.2
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2018-05-06 15:35:53] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=344966
Log: Fix #68305: Missing all escape chars in examples for sqlsrv_connect()
------------------------------------------------------------------------
[2014-10-25 17:10:41] h dot spuur at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.sqlsrv-connect
---
$serverName = "serverName\sqlexpress"; //serverName\instanceName
Should of course be properly escaped:
$serverName = "serverName\\sqlexpress"; //serverName\instanceName
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68305&edit=1