insert/update_string |
[eluser]gtech[/eluser]
$this->db->update_string(); & $this->db->insert_string(); simple returns an SQL query for you to pass to $this->db->query() eg.. (ripped from documentation) Code: ... As a personal preference I prefer the active_record class (see databases documentation) Code: $data = array('title' => 'title' , 'name' => 'Name' , 'email' => 'email'); see docs for how to use $this->db->update(); Link Here For Docs |
Messages In This Thread |
insert/update_string - by El Forum - 11-06-2007, 02:34 AM
insert/update_string - by El Forum - 11-06-2007, 04:02 AM
insert/update_string - by El Forum - 11-06-2007, 08:13 AM
insert/update_string - by El Forum - 11-06-2007, 08:26 AM
insert/update_string - by El Forum - 11-06-2007, 12:22 PM
insert/update_string - by El Forum - 11-06-2007, 12:37 PM
|