OMG i fixed it it was a freaking CAPS issue!!! i was trying to access
$post but it was $Post.

wtf!

On Aug 21, 3:56 am, rocket <[EMAIL PROTECTED]> wrote:
> hey guys im passing this:
>
>         foreach($posts as $post)
>                 echo $this->renderElement('post_element', $post);
>         }
>
> but in my post_element i try to use
>
> $post['title']
>
> and it throws me this problem .... Notice:  Undefined variable:
>
> Am i missing something? i'm real confused and have spent like 1 hour
> trying to debug this...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to