Re: How to get data from forms?

2006-04-22 Thread Vortexmind
Hi ... I had the same problem ... but I have another question. I don't see this approach as very MVC oriented. Let me explain: If I access the data using direct access to array, if i modify names of attributes in Model or in View, the application logic won't be consistent anymore. Isn't there a

How to get data from forms?

2006-04-20 Thread Ashley
Hi all! I've just been introduced to Cake world! But I have some problems in understanding how the framework handles the data from forms. I've done a simple model 'User' (username password as attributes), and then I've created a controller with: * an 'index' action that displays a login form *

Re: How to get data from forms?

2006-04-20 Thread Samuel DeVore
look in the $this-params['data'] try using pr(); a shortcut for print_r or you can now use $this-data, if you need the name of the button pushed you can also look in $this-params['form']Sam D On 4/20/06, Ashley [EMAIL PROTECTED] wrote: Hi all!I've just been introduced to Cake world! But I have