Mega Code Archive

 
Categories / Php / MySQL Database
 

List all tables in a database

<?php    mysql_connect("mysql153.secureserver.net","rntsoft","password");    $tables = mysql_list_tables("rntsoft");    while (list($table) = mysql_fetch_row($tables)) {       echo "$table <br />";    } ?>