Monday, January 26, 2009

Re: Performing a Query using a curdate as condition, help asap?

Hi Parris,

> The results should be all 'events' that will be
> today or greater (in other words, any date
> in the future).
Try it like this:

'conditions'=>array(
'Event.event_date >= ' => date('Y-m-d')
)


Hope that helps
RoVo


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

No comments: