As simple in theory as it sounds I\'ve done a fair amount of research and am having trouble figuring this out.
How can I check if a MySQL table exists and if it does
mysql_query("SHOW TABLES FROM yourDB"); //> loop thru results and see if it exists //> in this way with only one query one can check easly more table
or mysql_query("SHOW TABLES LIKE 'tblname'");
mysql_query("SHOW TABLES LIKE 'tblname'");
Don't use mysql_list_tables(); because it's deprecated
mysql_list_tables();