On 9/26/06, michael234 <[EMAIL PROTECTED]> wrote:
>
> I have my appointments_controller..
> var $name='Appointments';
>
>      function add()
>       {
>          $this->set('data', $this->Appointment->Enquiry->find());
>
>          if(empty($this->params['data']))
>          {
>             $this->render();
>          }
>          else...
>

Hi michael234,

Are you using a bunch of $this->set('foo', $foo) type of statements in
your controller to pass the data to the view?  I didn't seem them in
your example and was wondering.

Also, do you have your debug setting in core.php set to 2 or more?

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to