Doc #52455 [Opn->Csd]: [DE] wrong example
| From: | wiesemann@php.net | Date: | Mon, 02 Aug 2010 21:50:50 +0000 |
| Subject: | Doc #52455 [Opn->Csd]: [DE] wrong example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4782@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52455&edit=1
ID: 52455
Updated by: wiesemann@php.net
Reported by: ddmler at hotmail dot de
-Summary: wrong Example
+Summary: [DE] wrong example
-Status: Open
+Status: Closed
Type: Documentation Problem
-Package: Documentation problem
+Package: Translation problem
Operating System: None
PHP Version: Irrelevant
-Assigned To:
+Assigned To: wiesemann
Block user comment: 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:
------------------------------------------------------------------------
[2010-08-02 23:49:23] wiesemann@php.net
Automatic comment from SVN on behalf of wiesemann
Revision: http://svn.php.net/viewvc/?view=revision&revision=301809
Log: take over, sync to EN (and close bug #52455)
------------------------------------------------------------------------
[2010-07-27 12:43:33] ddmler at hotmail dot de
Description:
------------
The German Manual of mysql_tablename has two bugs in the Example #1.
http://www.php.net/manual/de/function.mysql-tablename.php
I postet in the "Test script" Area the Example, how it's right.
(And sorry for the bad English, but I am a German dude)
Test script:
---------------
<?php
mysql_connect("localhost", "mysql_user", "mysql_password");
$result = mysql_list_tables("mydb");
$num_rows = mysql_num_rows($result);
for ($i = 0; $i < $num_rows; $i++) {
echo "Table: ", mysql_tablename($result, $i), "\n";
}
mysql_free_result($result);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52455&edit=1