I have the below code to display a list of all tables in my database.
$table_count = mysql_query("
SELECT TABLE_NAME
FROM information_schema.tables
WHERE table_schema = 'DB_NAME'
");
$tables = array();
while($row = mysql_fetch_array($table_count))
{
$table = $row["TABLE_NAME"];
}
Is it possible to change this query to show all tables EXCEPT some?
If so can someone explain/show me how to do it?