php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53660 There is an error in the code provided in Example #1
Submitted: 2011-01-06 00:04 UTC Modified: 2011-01-06 02:41 UTC
From: man dot carlos at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2011-01-06 00:04 UTC] man dot carlos at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.mssql-init#Examples
---

Example #1, line #3 reads:

mssql_connect('KALLESPC\SQLEXPRESS', 'sa', 'phpfi');

and it should read:

$link = mssql_connect('KALLESPC\SQLEXPRESS', 'sa', 'phpfi');


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-06 02:37 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2011-01-06 02:41 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=307144
Log: Fix doc bug #53660 (There is an error in the code provided in Example #1).
 [2011-01-06 02:41 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2011-01-06 02:41 UTC] aharvey@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC