Wie wäre es mit:
$results = $db->query('SHOW TABLES LIKE \'page\'');
if (count($results->fetchAll()) > 0) {
echo 'table exists';
} else {
echo "it doesnt";
}
Wie wäre es mit:
$results = $db->query('SHOW TABLES LIKE \'page\'');
if (count($results->fetchAll()) > 0) {
echo 'table exists';
} else {
echo "it doesnt";
}