I have a CodeIgniter application and a SQL Server database. I use PDO as a driver, everything works fine, but not when I try to save data containing the words "select" or "selection".
Example:
$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);
php sql-server pdo codeigniter
Jc sama
source share