I thought it would be possible to access form submited data using
$this-data['Model']
However I get the following error:
Notice: Undefined index: User in E:\Server\htdocs\app\models\user.php
on line 15
Anyone have any ideas? Thanks, Harro
--~--~-~--~~~---~--~~
On 5/9/07, Harro [EMAIL PROTECTED] wrote:
I thought it would be possible to access form submited data using
$this-data['Model']
However I get the following error:
Notice: Undefined index: User in E:\Server\htdocs\app\models\user.php
on line 15
Anyone have any ideas? Thanks, Harro
Thanks for your reply, but I dont follow.
I want to use the data submitted in the users_controller from, in the
User model for custom validation.
I was following this -
http://snook.ca/archives/cakephp/cakephp_data_va_1/#c48338
Thanks, Harro.
On May 9, 8:21 pm, Gonzalo Servat [EMAIL
From the controller do:
$this-returned_information = $this-Modelname-function($this-data);
Just take the data as an argument and parse the array.
This is the way I do it but, if there is an easier way, I am all eyes.
On May 9, 12:28 pm, Harro [EMAIL PROTECTED] wrote:
Thanks for your reply,