Hi. I'm trying to fetch some data from the DB from a statistics controller that doesn't have any particular model associated with it. I just need to collect some info from the DB with some custom queries.
Thanks Grant Cox On 9 Jul, 02:22, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 8, 2008 at 6:38 PM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > Hi. > > > Is there anyway to call query() from a controller that has no model? > > Not every controller has to have a model associated with it. In fact, > you will sometimes find that you are calling multiple models from one > controller via associations. > > As helpful as Grant's response is, I think it doesn't really answer > the question WHAT are you trying to do. That is more important than > HOW. > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard:http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
