Hi Chris,

Use find field

$parent_id = $this->Video->field('user_id',array('your condition goes
here'))


enjoy,

Amit

On Thu, Dec 23, 2010 at 3:41 AM, chris...@yahoo.com <chris...@yahoo.com>wrote:

> Hi All,... sound stupid but I have to ask...
> I want to call user_id from Video table in to $parent_id variable in
> my controller in order to display and link to parent user username,
> video in ..."Favorites" section. And how do I do that...? Please
> help...
>
> $parent_id = $this->Video ???
>
> thanks
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to