Hi Ipwtestnow,

Don't think so ;).

$this->set defines a variable for you to pass from the controller to
the view. It doesn´t do anything to the data that the controller is
receiving, and it doesn't set any variable/parameter directly
accessible from the controller. If I am reading your code correctly you
are trying to save a variable which isn´t set.

The code that will correctly process the posted form data is:
$this->Configuration->save($this->params['data'])
assuming that there is a form...? Otherwise, what is is you are trying
to do?

It´s probably a good idea to run through the tutorial
(http://manual.cakephp.org/chapter/18) if you haven't already.

Cheers,

AD7six
ps. Why not name rather than number the fields in your configuration
table...?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to