Alright I think it's working but then when I added a findCount() i get: Fatal error: Call to a member function on a non-object in /home/ content/t/1/m/t1mburr/html/app/controllers/components/banner.php on line 11
Here is my component. Line 11 is $this->Banner->find ... <?php class BannerComponent extends Object { var $name = "Banner"; function create() { app::import("Model","banner"); $this->Banner->findCount("active"=>"1"); } } ?> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---