I think Mandy is right. I'm not a Cake expert, but as far as I know,
you need a model for each table in your database. In your Controller,
you can then use multiple models.
On Mar 15, 1:33 am, "Mandy" <[EMAIL PROTECTED]> wrote:
> Well, like everyone has already said, details would be helpful.
>
> But, a quick & dirty way to do what you are asking (if I got it
> right), is to access it through the model of that table.
>
> eg. Suppose you have a photos table and a shoes table.
>
> For whatever reason there is no relation between them.
>
> But, you want to mix the two -
>
> Then you could use -
> uses('Shoe');
> in your photos_controller
>
> and access methods of the shoes_controller by doing $this->Shoes-
>
> >methodName();
>
> Those methods can perform db updates on Shoe from the
> photos_controller.
>
> Is this in line with what you were asking?
>
> Thanks,
> Mandy.
>
> On Mar 15, 1:15 pm, "AD7six" <[EMAIL PROTECTED]> wrote:
>
> > On Mar 15, 8:48 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > there are not linked.
>
> > Details. And longer posts :D
>
> > AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---