Simply pass an array of keys and values into the save method and Cake
will try to map those keys to columns and save the values for you ...


On 9/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Sorry, i still habe a little Problem understanding the way i pass the
> params.
>
> In my "index.thtml" I have this code:
>
> if (isset($_GET['value1'])){
>   $value1=$_GET['value1'];
> }
>
> And now i would like to have a solution to save this value to into the
> table "Input".
> Something like:
> $this->data['Input']['value1'] = $value1;
>
> Is that possible?
>
>
> >
>

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