php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52455 [DE] wrong example
Submitted: 2010-07-27 12:43 UTC Modified: 2010-08-02 23:50 UTC
From: ddmler at hotmail dot de Assigned: wiesemann (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: None
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ddmler at hotmail dot de
New email:
PHP Version: OS:

 

 [2010-07-27 12:43 UTC] 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);
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-02 23:49 UTC] wiesemann@php.net
Automatic comment from SVN on behalf of wiesemann
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=301809
Log: take over, sync to EN (and close bug #52455)
 [2010-08-02 23:50 UTC] wiesemann@php.net
-Summary: wrong Example +Summary: [DE] wrong example -Status: Open +Status: Closed -Package: Documentation problem +Package: Translation problem -Assigned To: +Assigned To: wiesemann
 [2010-08-02 23:50 UTC] wiesemann@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: Sat May 18 19:01:30 2024 UTC