Re: can't delete record from table

2010-08-17 Thread Tomfox Wiranata
hey anthony...that was it thx your right it is bad formit was just simple testing first..i changed tht as well... thx so much On 16 Aug., 14:25, Anthony wrote: > A function stops executing when return is called. > > Your return is before your delete. > > Though deleting a record in

Re: can't delete record from table

2010-08-16 Thread Anthony
A function stops executing when return is called. Your return is before your delete. Though deleting a record in a function called __getRecord sounds like poor form to me. On Aug 15, 6:14 am, Tomfox Wiranata wrote: > hi, > > i am trying to delete a record from a table. to do that i call a > dif

can't delete record from table

2010-08-15 Thread Tomfox Wiranata
hi, i am trying to delete a record from a table. to do that i call a different model from my controller. anyway, i can retrieve the correct data perfectly, that tells me the process is right. but i can't delete a specifi record. first i declared the foreign model in my controller var $uses = arra