Active Record method chaining - doesn't work with update? |
The update method works like described here
http://www.codeigniter.com/userguide3/da...ght=update For e.g. in your case you can write this: $this->db->update('tasks', array('status' => 'complete'), array('id' => $task_id)); |
Messages In This Thread |
Active Record method chaining - doesn't work with update? - by whiteatom - 02-25-2015, 10:45 AM
RE: Active Record method chaining - doesn't work with update? - by Rufnex - 02-25-2015, 11:18 AM
RE: Active Record method chaining - doesn't work with update? - by _this - 02-25-2015, 11:40 AM
RE: Active Record method chaining - doesn't work with update? - by CroNiX - 02-25-2015, 12:32 PM
RE: Active Record method chaining - doesn't work with update? - by whiteatom - 02-25-2015, 01:52 PM
RE: Active Record method chaining - doesn't work with update? - by mwhitney - 02-25-2015, 01:24 PM
|