Welcome Guest, Not a member yet? Register   Sign In
escape query
#1

[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
#2

[eluser]Bas Vermeulen[/eluser]
If you use active records you don't have to.

Source: http://ellislab.com/codeigniter/user-gui...tml#insert check out the red note Smile Same goes for the update command.




Theme © iAndrew 2016 - Forum software by © MyBB