Re: MySQL request in controller

2006-09-28 Thread [EMAIL PROTECTED]
Thanks for the reply, but I still don't know how to save the name of the user. Sorry for the beginner questions, but I'm new to cakePHP. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Re: MySQL request in controller

2006-09-28 Thread [EMAIL PROTECTED]
Thanks for the hint with findById! My solution now is: function delete($id) { $myuser = $this-User-findById($id); if ($this-User-del($id)) { $this-Session-setFlash('Customer :'.$myuser['User']['name'].' deleted.');