Trying to update database with textarea... |
for the update stuff you need a third parameter : the id or matching key of the dataset:
PHP Code: $this->db->update('mytable', $data, "id = 4"); Look here at the documentation: http://www.codeigniter.com/userguide3/da...-db-update |
Messages In This Thread |
Trying to update database with textarea... - by alexandervj - 11-19-2014, 11:41 AM
RE: Trying to update database with textarea... - by Rufnex - 11-19-2014, 01:55 PM
RE: Trying to update database with textarea... - by alexandervj - 11-19-2014, 02:19 PM
RE: Trying to update database with textarea... - by Rufnex - 11-19-2014, 02:32 PM
RE: Trying to update database with textarea... - by alexandervj - 11-19-2014, 02:33 PM
RE: Trying to update database with textarea... - by Rufnex - 11-19-2014, 02:39 PM
|