Welcome Guest, Not a member yet? Register   Sign In
using active record (delete)
#3

[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. Sad(

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


Messages In This Thread
using active record (delete) - by El Forum - 12-28-2009, 03:07 AM
using active record (delete) - by El Forum - 12-28-2009, 03:41 AM
using active record (delete) - by El Forum - 12-28-2009, 04:31 AM
using active record (delete) - by El Forum - 12-28-2009, 07:57 PM
using active record (delete) - by El Forum - 12-28-2009, 08:18 PM
using active record (delete) - by El Forum - 12-28-2009, 09:14 PM
using active record (delete) - by El Forum - 12-28-2009, 11:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB