note 14181 added to function.mysql-list-tables.php
| From: | Edgar_Miller at earthling dot net | Date: | Fri, 20 Jul 2001 11:33:25 +0000 |
| Subject: | note 14181 added to function.mysql-list-tables.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15610@lists.php.net to get a copy of this message | ||
Much better ( And working ) is:
$DB = "mysql";
mysql_select_db($DB);
$tables=mysql_list_tables($DB);
while (list($bla)=mysql_fetch_array($tables))
{
echo $bla." are the tablenames";
echo "{HTML-NEWLINE}";
}
http://www.php.net/manual/en/function.mysql-list-tables.php