Welcome Guest, Not a member yet? Register   Sign In
Active record question
#3

[eluser]megabyte[/eluser]
What I'm saying is that the only way to not escape data is using the set method.

You can't set it to not escape a certain value if you do this:

Code:
$data = array(
               'title' => 'My title' ,
               'name' => 'My Name' ,
               'id' => 7
            );

$this->db->insert('mytable', $data);

Its still going to escape the id

Am I right?


Messages In This Thread
Active record question - by El Forum - 02-04-2010, 03:37 PM
Active record question - by El Forum - 02-04-2010, 04:06 PM
Active record question - by El Forum - 02-04-2010, 04:15 PM
Active record question - by El Forum - 02-04-2010, 04:18 PM
Active record question - by El Forum - 02-25-2010, 03:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB