Hi bingo,

when something fundamental doesn't appear to work, the discussion
usually ends with a "whoops I ..." ;)

How are you trying to access $data in your view?

Can you confirm that with Debug set to 2 (or 3)
and with this in your controller method:
$result = $this->Article->findAll();
e ("<br>my result is");
pr ($result);
e("<br>that was my result");
$this->set('data',$result);

and this in your view:
e ("<br>my data is");
pr ($data);
e("<br>that was my data");

You are getting no other error messagse and:
my result is:
Array (.....)
that was my result
my data is:
that was my data

on the resultant page?

Cheers,

AD7six


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