这样的事情:
$connection->executeQuery('check table historial1 in database $connection->executeQuery('show tables')')
答案 0 :(得分:0)
$sql = "SHOW TABLES 'Table_Name' ";
if($this->is_connected)
{
$query = $this->pdo->query($sql);
return $query->fetchAll(PDO::FETCH_COLUMN);
}
return FALSE;