Skip to content

Instantly share code, notes, and snippets.

@ssinss
Last active December 16, 2015 05:59
Show Gist options
  • Save ssinss/5388242 to your computer and use it in GitHub Desktop.
Save ssinss/5388242 to your computer and use it in GitHub Desktop.
code igniter 에서 sql 문 escape 없이 쓰기
$data = array('name' => $name, 'count' => $count);
$this->db->set('updated_at', 'NOW()', false);
$this->db->insert('mytable');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment