Thank you, I've managed to make it work using the code below:
function approve($id)
{
$this->Comment->id = $id;
if($this->Comment->saveField('visible',1))
$this->flash('This comment has been
approved','/comments/
moderate');
}
I'm not sure about the "mini forms" for security you're talking about,
could you give an example or explain it??
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---