This should certainly work:
$this->set('events', $this->Event->find('all', array('conditions' =>  
array('Event.associate_id' => $curr_user["Associate"]["0"]["id"]))));

Good flight! WEEEEEeeeeeeeee~

On 12 Nov 2008, at 08:59, lirc201 wrote:

>
> Hello All,
>
> I need a little push off the cliff here.  I want this query to return
> all entries where the associate_id = some value ( WHERE associate_id =
> '??').
>
> $this->set('events', $this->Event->find('all', array('associate_id' =>
> '$curr_user["Associate"]["0"]["id"]')));
>
> $curr_user will be defined with some INT(11) value.
>
> I'm using 1.2 RC3.
>
> Thanks,
> Brian
> >


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