Hey guys, I figured it out. The problem was in the view.

The thing is that $this->Post->findAll() returns all the values in the
table in an array so it must be broken down by using "foreach".

Here's the view that solved the problem:

<?php foreach ($data as $post): ?>
        <h2><? echo $post['Post']['title']; ?></h2>
        <div class="body"><? echo $post['Post']['excerpt']; ?></div>
<?php endforeach; ?>


Thanks a lot for your help. I really appreciate. Cheers!


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