[eluser]kikz4life[/eluser]
yes, $crudColumnValues[‘id’] contains the value i want to delete cause if i use my original code(not using CI) it can delete the row. but using this $this->db->delete('sec_role', array('role_id' => $crudColumnValues['id'])); it aint.

(
no error response in my firebug. also i used the $this->db->last_query() but i didnt see the result of my last queried. How come?
also i tried to echo the result of $crudColumnValues['id'] by doing this echo $crudColumnValues['id'] and the result is 34 and thats the id i want to create., i saw this in my firebug.
i'll try every solution you'll come up. really want to work this in CI framework
thanks for the reply cahva