just add it to $this->data

i.e. (haven't tested but along these lines)

$this->data['myvar'] = 'myval';
$this->data->save();




On Nov 9, 2:38 pm, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> how could I add a variable to $this->data before saving, that
> shouldn't be generated throughout the form it is associated to? :-)
>
> Thanks in advance
>
> Arne


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

Reply via email to