标签: php sqlite pdo
如何将变量$ table放入查询中 $query = $connect->connexion()->prepare('SELECT * FROM :tableR'); $query->bindParam(":tableR",$tableType); $query->execute();
$query = $connect->connexion()->prepare('SELECT * FROM :tableR'); $query->bindParam(":tableR",$tableType); $query->execute();