Insert into a table which has a dash in the name

前端 未结 4 1952
误落风尘
误落风尘 2020-12-07 02:06

I have a table called concept-relation and I want to insert into it.

for ($i = 0; $i < count($sources); $i++) {
    $sourceID = $this->get         


        
4条回答
  •  被撕碎了的回忆
    2020-12-07 02:22

    $query2 = "INSERT INTO `concept-relation` (relationID, firstConceptID, secondConceptID)
                    VALUES (:rID, :sID, :dID)";
    

提交回复
热议问题