On Thu, Feb 19, 2009 at 1:04 PM, Stu <[email protected]> wrote:
>
> var paginate = array('conditions' =>array('Group.site_id ' => 28)); <
> --- this works perfectly but what I'm trying to achieve is instead of
> the "28" value being hard coded, i would like to put a variable at
> it's place.

Dude, I realise that. I know what a variable is. My point was, does
the resulting query work? You say it does, so it looks an awful lot
like your variable is not set. But, if you'd posted the error in the
first place, we'd probably know for sure.

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