php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33547 Mistake in mysql_list_tables documentation
Submitted: 2005-07-02 12:28 UTC Modified: 2005-07-02 13:48 UTC
From: simon at ruderich dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2005-07-02 12:28 UTC] 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";



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-02 13:48 UTC] vrana@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.

Actually, it's SHOW TABLES.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 03 20:00:02 2025 UTC