$this->User->find(
'first',
array(
'conditions' => array(
'User.id' => $user_id
),
'contain' => array(
'Post',
'Message'
'Question'
)
)
)
On Fri, Mar 27, 2009 at 7:44 PM, Dave Maharaj :: WidePixels.com
<dave@widepixels.com> wrote:
> I know this is a noobie question. I cant remember how to display all the
> user info in the array. I see the Auth array but I want to see all the
> messages / posts / questions that the user has entered in the site.
>
> Can someone please help me.I tried debug but that did nothing...I just cant
> remember how to do it.
>
> Thanks
>
> Dave
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment