#42458 [Opn->Csd]: mistake in PHP example: en/reference/msql/reference.xml
| From: | nlopess@php.net | Date: | Sat, 01 Sep 2007 09:47:41 +0000 |
| Subject: | #42458 [Opn->Csd]: mistake in PHP example: en/reference/msql/reference.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377963@lists.php.net to get a copy of this message | ||
ID: 42458
Updated by: nlopess@php.net
Reported By: glowacki at europa dot pl
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: any
PHP Version: Irrelevant
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:
------------------------------------------------------------------------
[2007-08-30 15:07:34] glowacki at europa dot pl
Expected result:
----------------
/* Connecting, selecting database */
$link = msql_connect('localhost')
or die('Could not connect : ' . msql_error());
------------------------------------------------------------------------
[2007-08-28 11:10:32] glowacki at europa dot pl
Description:
------------
file: en/reference/msql/reference.xml
...
/* Connecting, selecting database */
$link = msql_connect('localhost', 'username', 'password')
or die('Could not connect : ' . msql_error($link));
// function 'msql_connect' require only one parameter:
hostname|hostaddress
Expected result:
----------------
/* Connecting, selecting database */
$link = msql_connect('localhost')
or die('Could not connect : ' . msql_error($link));
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42458&edit=1