• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Hi, I cant understand ur Delete and Update code, pls make me understand that topic. Thanks...Smile

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
And in delete it is also the same. The only difference is in delete you may not need to declare an array of values you just need to specify the ID. You can also use the $this->db->query("YOUR QUERY HERE"); function


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.