Hi. Anybody dealt with cakephp?
I have this problems. The delete function is not functioning.
Its not deleting the things I want to delete from the database.
Heres my code./
function delete($id = NULL){
$this->Application->delete($id); //-->this cause problems
$this->Session->setFlash("Application " . $id . " was deleted");
$this->redirect(array('action' => 'index'));
}
I already try putting the $this->Application->delete($id) in if.. and the if wasnt true.Hence i know its not working.
I try to echo the id.. the id is working fine..
Please3 help me.. I'd gone with so many articles on web and nothings seems to help me.