Mysql('mydb", "SHOW TABLES FROM mydbname") ???
| From: | Chris | Date: | Sat, 12 Jan 2002 19:48:16 +0000 |
| Subject: | Mysql('mydb", "SHOW TABLES FROM mydbname") ??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80294@lists.php.net to get a copy of this message | ||
Im trying to display the tables in my database using $tables =
mysql(mydb, SHOW TABLES FROM mydbname) but this statement doesnt
seem to behave like selecting records from a table. Does this query
return an array of table names? If I use something like $records =
mysql(mydb, SELECT * FROM sometable) everything works fine. There
must be something Im missing about the SHOW query.
Thanks
Chris Williams