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