INSERT IGNORE using Codeigniter

后端 未结 13 973
眼角桃花
眼角桃花 2020-12-08 19:52

I am trying to insert a few rows into the MySQL table using Codeigniter and Active Records.

PHP Code

$data = array(\'......\');  //          


        
13条回答
  •  星月不相逢
    2020-12-08 20:33

    Avoid duplicate rows by setting a unique key in the database table for at least one of the fields.

提交回复
热议问题