#33547 [Opn->Csd]: Mistake in mysql_list_tables documentation
| From: | vrana@php.net | Date: | Sat, 02 Jul 2005 11:48:39 +0000 |
| Subject: | #33547 [Opn->Csd]: Mistake in mysql_list_tables documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969368894@lists.php.net to get a copy of this message | ||
ID: 33547
Updated by: vrana@php.net
Reported By: simon at ruderich dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
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.
Actually, it's SHOW TABLES.
Previous Comments:
------------------------------------------------------------------------
[2005-07-02 12:28:08] simon at ruderich dot com
Description:
------------
Hello,
I think there is a mistake in the mysql_list_tables
documentation.
It sais I should use this query:
$sql = "SELECT TABLES FROM $dbname";
I think the correct query, like it is above mentioned, should
look like this:
$sql = "SHOW TABLE FROM $dbname";
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33547&edit=1