[eluser]ericbae[/eluser]
I'm a little puzzled. Here's what I have
$this->db->insert("my_table", array('name' => $whatever));
when I do the above, it fails if $whatever is a set of words (e.g. "hello hello hello").
Only way I can get above working is if I write it like
$this->db->insert("my_table", array('name' => "$whatever"));
I thought the quotes were not necessary? Am I missing something?