Welcome Guest, Not a member yet? Register   Sign In
Database in 1.6.0
#1

[eluser]BlueCamel[/eluser]
I'm reading the 1.6.0 docs for escaping database values:
http://ellislab.com/codeigniter/user-gui...eries.html

For $this->db->escape_str($data) and $this->db->escape($data), the docs say that it adds single quotes around the data so you don't have to.

For mysql on 1.6.0 with php 5.2.3, this doesn't appear to be the case. Is this a doc bug or a code bug?


Messages In This Thread
Database in 1.6.0 - by El Forum - 02-01-2008, 11:01 AM
Database in 1.6.0 - by El Forum - 02-01-2008, 11:25 AM
Database in 1.6.0 - by El Forum - 02-01-2008, 04:23 PM
Database in 1.6.0 - by El Forum - 02-01-2008, 08:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB