我想检查MySQL表是否存在于数据库中.我正在使用CodeIgniter 3.*v
if($this->db->query("SELECT * FROM `$table` Limit 1")->result() == TRUE){
#next process if table found
}else{
#display error
}
Run Code Online (Sandbox Code Playgroud)
我正在寻找解决方案如何检查PHP表是否存在MySQL表?