Replace old data to new data by Group ID |
I have table like
Code: tb_class And i implement sortable for draggable to replace old records tb_class by group_id. Code: tb_class Can i use replace() function in Model? I need sample model to provide this
The "replace" method replaces the entry and applies the new ID if the entry exists. This is bad. Use the "update" method
http://codeigniter.com/user_guide/databa...der-update |
Welcome Guest, Not a member yet? Register Sign In |