We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Data saved twice when it contains “select” word using CodeIgniter + PDO + SQL SERVER

Development and Programming

simonix's avatar
simonix
1 posts
12 years ago
simonix's avatar simonix

I have a CodeIgniter application and SQL Server database. I’m using PDO as a driver, everything works fine, but not when I’m trying to save data that contains 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);

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.