I think this should work: $this->set('user_list', $this->generateList('user != $ACTUAL_USER_ID', ' ASC', null, '' ,'', null));
Greetings On 26 Mai, 17:59, Ketan Patel <[EMAIL PROTECTED]> wrote: > I want to use generatelist but want to skip a specific record. for eg. > I want to create list of users and don't want the current user to be > in the current list! > > How do I do this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---