![]() |
escape query - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: escape query (/showthread.php?tid=35094) |
escape query - El Forum - 10-19-2010 [eluser]Arun Joshi[/eluser] Hi I can escape a varible using $this->db->escape(). Like is there any way to escape a query. So that I can avoid $this->db->escape() for all fields. Thanks Arun escape query - El Forum - 10-19-2010 [eluser]Bas Vermeulen[/eluser] If you use active records you don't have to. Source: http://ellislab.com/codeigniter/user-guide/database/active_record.html#insert check out the red note ![]() |