If you are doing a findAll I am pretty sure it will return in an array in the form of $arrayName[0]['Area']['name'] ... if you are doing just a find it will only return one result and therefore not the extra tier in the array. One thing you can do make sure is right after you pull that info from the DB do a var_dump on the array, wrap it in pre html tags to make it easier to read and disect the array it is returning.

On 4/28/06, Kenia <[EMAIL PROTECTED]> wrote:

ah! the error is in line : <td><?php echo $people['Area']['name'];
?></td> file: index.php(People)




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