public function tableExists($table)
    {
        $result = $this->query("SHOW TABLES LIKE " . $this->pdo->quote($table));
        return $result->rowCount() > 0;
    }
public function tableExists($table)
    {
        $result = $this->query("SHOW TABLES LIKE " . $this->pdo->quote($table));
        return $result->rowCount() > 0;
    }
public function tableExists ( $ table ) { $ result = $ this -> query ( "SHOW TABLES LIKE " . $ this -> pdo -> quote ( $ table ) ) ; return $ result -> rowCount ( ) > 0 ; }
Check if a table already exists
@param string $table
@return bool
Check if a table already exists