On Dec 18, 1:24 pm, boyracerr <[email protected]> wrote:
> I have now solved this; correct syntax is:
>
> $this->data['user_count'] = $userObj->findCount(array(
> 'User.status' => '1',
> 'User.id' => '>' . 18)
> , 0);
>
> I believe this to be a fault in the documentation
> athttp://book.cakephp.org/view/74/Complex-Find-Conditions- the fifth
> example down will not work unless modified as above.
The book is for the latest code. it hasn't worked like ^^ for some
time.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---