php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33406 [de] variable inside single quotes
Submitted: 2005-06-20 11:14 UTC Modified: 2005-06-20 11:24 UTC
From: j-pieper at web dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP Prof.
Private report: No CVE-ID: None
 [2005-06-20 11:14 UTC] j-pieper at web dot de
Description:
------------
I found a small mistake in the php-manual at http://de2.php.net/manual/de/function.mysql-field-name.php because there is a variable which content should be shown but it is between single-quoted.

Reproduce code:
---------------
die('Auswahl der Datenabnk $dbname fehlgeschlagen: ' . mysql_error());

Expected result:
----------------
Auswahl der Datenabnk mydb fehlgeschlagen: <error_msg>

Actual result:
--------------
Auswahl der Datenabnk $dbname fehlgeschlagen: <error_msg>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-20 11:24 UTC] nlopess@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.

The error was in the english docs, so I've fixed them instead. The german translation team will update their files when possible.
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=de4e9f4477ebf7003c8ff159d45c1204dc97ca83
Log: fix #33406: error in the example
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 16:01:34 2025 UTC