cool thanks- i basically used the example, but it is giving me an internal server error (500).
<? $dbname = 'thedatabase';
mysql_connect('host', 'user', 'pass'); //replaced with actual info
$result = mysql_list_tables($dbname);
if (!$result)
{ echo 'MySQL Error: ' . mysql_error();
exit;
}
while ($row = mysql_fetch_row($result))
{
echo "Table: $row[0]\n";
}
mysql_free_result($result); ?>
any ideas or suggestions?