我有一个CodeIgniter应用程序和SQL Server数据库.我正在使用PDO作为驱动程序,一切正常,但是当我试图保存包含单词"select"或"selection"的数据时.
例:
$data = array();
$data[] = array('title' => 'all you neeed', 'description' => 'description here');
$data[] = array('title' => 'try this selection', 'description' => 'description here');
$this->db->insert_batch($this->table, $data);
Run Code Online (Sandbox Code Playgroud)