Have to agree with Dr. Drijk to check on typos.
Is it StudentAttendances.date instead?
On Thursday, 30 May 2013 07:46:53 UTC+8, gonzela2006 wrote:
>
> Hello,
>
> I used the following code in "StudentAttendances" controller:
>
> $students = $this ->StudentAttendance->Student-> find('all', array(
> 'conditions' => array(
> 'NOT' => array('StudentAttendance.date' =>
> array($year.'-'.$month.'-'.$day))
> ),
> 'fields' => array('Student.id', 'Student.name'),
> 'order' => 'Student.name ASC'
> ));
>
>
> On Wednesday, May 29, 2013 8:02:29 AM UTC+2, resting wrote:
>>
>> It will be helpful if you show us what you had done to produce that error.
>>
>>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.