Hi!
    I want to search for records between 2 dates.
This is what i have done but it doesnt seem to work

$date1=$this->data['Equipment']['dop1'];
$date2=$this->data['Equipment']['dop2'];
$conditions['Equipment']['dop']="BETWEEN {$date1} AND {$date2}";

also
$warranty=$this->data['Equipment']['dow'];
$conditions['Equipment']['dow']="BEFORE {$warranty}";

THen a findall($conditions);

Is there a [pop-up calendar available like in phpmyadmin?Ive heard of
the yahoo widget or so.
 Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to