On 2/7/07, vidya <[EMAIL PROTECTED]> wrote:
> I'am new to cakephp.I have a question with the statement $html-
> >submit('Go'); Can i get the name of button "Go" in the controller
> when I click this button ?Can any one help me to solve this problem?Turn Debug to 3 and you will get a Object dump - take a look at params Or a more hackish way - In your controller put somewhere print_r($this->params) and take a look at what is printed out - you will find your submit button somewhere there HTH Tarique -- ============================================================= PHP for E-Biz: http://sanisoft.com Cheesecake-Photoblog: http://cheesecake-photoblog.org ============================================================= --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
