On Feb 19, 12:42 pm, Stu <[email protected]> wrote:
> I tried the following:
>
> var paginate = array('conditions' =>array('Group.site_id = '.
> $variable .''));
>
> and:
>
> var paginate = array('conditions' =>array('Group.site_id ' =>
> $variable
> ));
>
> which only sends me Parse errors for some reason.

Have you tried: var $paginate = array('conditions' =>array
('Group.site_id ' => $variable));
I think you forgot the $ before 'paginate.'
--~--~---------~--~----~------------~-------~--~----~
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