Welcome Guest, Not a member yet? Register   Sign In
CI Escape String
#2

[eluser]Derek Jones[/eluser]
Hi rob,

You'll notice if you follow $this->db->escape() that it calls escape_string() in the MySQL driver, which is applying mysql_real_escape_string() if available. That said, mysql_real_escape_string() will not escape forward slashes anyway. What is the error you are getting with your query?


Messages In This Thread
CI Escape String - by El Forum - 05-23-2008, 07:31 AM
CI Escape String - by El Forum - 05-23-2008, 08:01 AM
CI Escape String - by El Forum - 05-23-2008, 08:46 AM
CI Escape String - by El Forum - 05-23-2008, 08:51 AM
CI Escape String - by El Forum - 05-23-2008, 08:55 AM
CI Escape String - by El Forum - 05-23-2008, 09:05 AM
CI Escape String - by El Forum - 05-23-2008, 09:10 AM
CI Escape String - by El Forum - 05-23-2008, 09:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB