One thing, though. The $order ('duedate ASC') shouldn't be necessary,
as you're selecting on just a single date.On Fri, May 16, 2008 at 11:09 AM, Pierre MARCOURT <[EMAIL PROTECTED]> wrote: > Yes I do. > In your code, you do a "or" condition. I did not think it was possible that > way because of my second condition user_id != $user_id. > But now I know by using 'or' and '<>' I can make it works. > Thanks ! > > > grigri wrote: > > I am using 1.1 and your last code works just fine !!! > Thank you very much, it is just what I needed ! > > > Glad I could help. Do you understand *why* it works? > > > > -- > Pierre MARCOURT > > IT Department > CableOrganizer.com > 5610 NW 12th Ave, suite 214 > Fort Lauderdale, FL 33304 > > > Phone: 954-861-6310 > Fax: 954-861-2001 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
