Code - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Code (/showthread.php?tid=54761) |
Code - El Forum - 09-24-2012 [eluser]Unknown[/eluser] Hi, I cant understand ur Delete and Update code, pls make me understand that topic. Thanks... Code - El Forum - 09-24-2012 [eluser]rochellecanale[/eluser] Have you read the topics about active record class? Or the database class? In update you must specify the id of the thing that you want to update and together with the id you must pass the array of updated values to the Code: $this->db->update('tablename'); Code - El Forum - 09-24-2012 [eluser]swgj19[/eluser] http://ellislab.com/codeigniter/user-guide/database/active_record.html |