try outting it into your conditions without quotes since it is a constant On Sep 19, 11:21 am, DerBjörn <b.unkh...@googlemail.com> wrote: > Hi, > > when i use something like > $paginate = array('ClubsPlayer.club_id ' => $club_id, > 'ClubsPlayer.start_datetime <=' => 'CURRENT_TIMESTAMP'); > > Then the CURRENT_TIMESTAMP will be in quotes in my query: > `ClubsPlayer`.`start_datetime` <= 'CURRENT_TIMESTAMP' > > How to use it correctly? > > THANKS :)
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en