Hello,
In my controller, I call twice the same method with a different value
Here is the code

        $this->set('desrippeurs',$this->Agent->listedesagents(2));
        $this->set('deschauffeurs',$this->Agent->listedesagents(1));
FIst I send 2 and then 1 for example.
Normally I would have a different list in each case but both get the
same list, the first one. Do I have to write twice the same method with
a different name to have the right answer ?

Thank you
Steniskis


--~--~---------~--~----~------------~-------~--~----~
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