Welcome Guest, Not a member yet? Register   Sign In
special chars in mysql query
#2

[eluser]timchase01[/eluser]
First I would suggest using active record instead of running the query directly. If you have to run the query directly though you can escape the special characters. http://ellislab.com/codeigniter/user-gui...eries.html Look for the bit on Escaping Queries, or you can use the data bindings, which is much better from a security standpoint.


Messages In This Thread
special chars in mysql query - by El Forum - 07-31-2011, 07:07 AM
special chars in mysql query - by El Forum - 07-31-2011, 09:38 AM
special chars in mysql query - by El Forum - 07-31-2011, 05:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB