Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord not adding quotes
#1

[eluser]Nabeel[/eluser]
Hey everyone,

This is giving me a bit of a headache -

Whether I use:

$this->db->set('column', 'value', true)

$this->db-insert('table');

It produces:

INSERT INTO table (column) VALUES (value);

Without putting quotes around value.
If I assign it into an array, and do $this->db->set($data), same thing, and the same thing for $this->db->insert_string('schedules', $data), it still won't quote. Is this a known bug? It's not just insert, it's any, include DELETE, etc etc.

Not sure what I'm missing..
If you need more specific code, I can provide.




Theme © iAndrew 2016 - Forum software by © MyBB