Last active
December 16, 2015 05:59
-
-
Save ssinss/5388242 to your computer and use it in GitHub Desktop.
code igniter 에서 sql 문 escape 없이 쓰기
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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