I tried:  $this->data['Client'] = $this->Client->read('client_id');

Great idea, but unfortunately it still doesn't save.

>From your idea, it looks like the data array is still being created
from thin air, even though the query probably pulls it perfectly. Is
there something that the save function needs that is different from a
normal array? There has to be a way to create the data array just like
it comes in from a form.

thanks for your help!

dan

On Sep 26, 5:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> probably right about your array shenanigans.
>
> > I'm thinking that the data[][] array can't be 'invented' in the way I
> > did it, but I wasn't sure how to do this without submitting a form.
>
> If your $client_id is from a Client object, Try:
>
> $this->data['Client'] = $this->Client->read(client_id);
>
> Jeff


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