Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter - escaping values before inserting in database - single quotes issue
#8

[eluser]CroNiX[/eluser]
That's why you should use htmlentities before inserting the HTML to convert them to trivial chars. They are escaped in the db, you just don't see the \ before the ' or " in the db or when outputting because they have already been escaped.


Messages In This Thread
CodeIgniter - escaping values before inserting in database - single quotes issue - by El Forum - 10-15-2014, 12:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB