How can I get active records NOT to add single quotes to int values? |
[eluser]boltsabre[/eluser]
Try sending it with the third WHERE paramter FALSE to disable automatic escaping by active records. Search the page below for: $this->db->where(); to see the documentation http://ellislab.com/codeigniter/user-gui...ecord.html Also see the second answer here, using get_where http://stackoverflow.com/questions/14548...ause-value Something like: Code: $this->db->where('class', $data, FALSE); Let us know how it goes, and mark this post as answered if it works. Thanks! |
Messages In This Thread |
How can I get active records NOT to add single quotes to int values? - by El Forum - 05-20-2013, 03:42 PM
How can I get active records NOT to add single quotes to int values? - by El Forum - 05-21-2013, 06:06 AM
How can I get active records NOT to add single quotes to int values? - by El Forum - 05-21-2013, 08:26 PM
How can I get active records NOT to add single quotes to int values? - by El Forum - 05-21-2013, 09:36 PM
How can I get active records NOT to add single quotes to int values? - by El Forum - 05-22-2013, 04:43 AM
|