Neznám syntaxi PDO, ale zdá se mi to docela jednoduché:
$result = mysql_query("SHOW TABLES LIKE 'myTable'");
$tableExists = mysql_num_rows($result) > 0;
Neznám syntaxi PDO, ale zdá se mi to docela jednoduché:
$result = mysql_query("SHOW TABLES LIKE 'myTable'");
$tableExists = mysql_num_rows($result) > 0;