Hi there!
I have got this function in my controller, which deletes the selected
customer from the table:
function delete($id)
{
if ($this->User->del($id))
{
$this->Session->setFlash('Customer '.$id.' deleted.');
$this->redirect('/users');
}
}
Instead of $id, i would like to print out the name of the customer. My
table in the database is calles "users" and the field's name is "name".
How can i request that name in cakephp?
Thanks,
Felix
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---