here the code:

if($this->params['form']['submit']=='Edit'){
   //edit your data
}elseif($this->params['form']['submit']=='Delete'){
   //delete your data
}

But there is a problem if you use different languages


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to