Hi,

Actually I am using $this->Article->findAll();

I thought exactly same as you said that $this->set sets a variable that
will be available in view. But I am experiencing exactly the opposite.
If I use $this->set then the variable $data does not get any value from
$this->Article->findAll() and in the view nothing gets printed. If  I
use the 2 nd method then the $data variable get set with the values and
I am able to use $data variable in my view.

This is bizzare.

Regards,
Bingo


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

Reply via email to