Page 1 of 1

Finding MySQL table names

Posted: Thu Feb 10, 2005 7:16 am
by mjseaden
Hi,

Is there any way I can retrieve the names of tables in a MySQL database into a PHP array?

Many thanks

Mark

Posted: Thu Feb 10, 2005 7:35 am
by Chris Corbyn

Code: Select all

$mysql_tables = mysql_list_tables($db_connection);