Re: Extracting table names
| From: | Thargor | Date: | Tue, 13 Nov 2001 09:54:46 +0000 |
| Subject: | Re: Extracting table names | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74403@lists.php.net to get a copy of this message | ||
Hallo Damien,
Tuesday, November 13, 2001, 10:39:31 AM, you wrote:
> I am relatively new to mysql - I'm developing a site using mysql & php.
> I need to populate a drop down menu with all of the table names in a
> database.
> I can do standard queries (SELECT * FROM blah WHERE ...) but I'm having
> trouble returning all of the table names.
SHOW TABLES FROM $DB;
--
Thargor mailto:Thargor@vergessene-welt.de
http://www.vergessene-welt.de