Welcome Guest, Not a member yet? Register   Sign In
Delete multiple rows using checkbox
#2

This
$id = $this->input->post('ckbdelete');

return an array of ids. you need to loop through the ids and delete each one.

something like this
foreach ($id as $i){
$this->guestbook_model->DeleteById($i);
}
On the package it said needs Windows 7 or better. So I installed Linux.
Reply


Messages In This Thread
Delete multiple rows using checkbox - by eleumas - 09-26-2017, 10:39 AM
RE: Delete multiple rows using checkbox - by rtenny - 09-27-2017, 08:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB