Re: Manipulating the right hand side of the conditions array in find/findAll queries

2007-02-21 Thread ianh
Worked a treat - thanks so much. Ian On 21 Feb, 00:04, "AD7six" <[EMAIL PROTECTED]> wrote: > On Feb 21, 8:54 am, "ianh" <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > I'm working on an app to allow people to book courses online. I want > > users to be able to select courses by the day on whic

Re: Manipulating the right hand side of the conditions array in find/findAll queries

2007-02-21 Thread AD7six
On Feb 21, 8:54 am, "ianh" <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm working on an app to allow people to book courses online. I want > users to be able to select courses by the day on which they are held. > I have a "start" date (in datetime format) and have been trying to > create a conditi

Manipulating the right hand side of the conditions array in find/findAll queries

2007-02-20 Thread ianh
Hi all, I'm working on an app to allow people to book courses online. I want users to be able to select courses by the day on which they are held. I have a "start" date (in datetime format) and have been trying to create a conditions array a bit like this: $conditions = aa('dayofweek(Course.star