On Jan 26, 10:13 am, "Steniskis" <[EMAIL PROTECTED]> wrote: > Yes Sam, I have > > In the controller, I have thishttp://bin.cakephp.org/view/910330616 > > In the view I have thishttp://bin.cakephp.org/view/2134642903 > > I am facing a mystery... ;=) > > Thank you > Steniskis
Try this demistyfying technique, Set debug = 2, and put this in your controller: $this->Agent->StartLogHere(); $result1 = $this->Agent->listedesagents(2); $this->Agent->MiddleLogHere(); $result2 = $this->Agent->listedesagents(2); $this->Agent->EndLogHere(); pr ($result1); pr ($result2); die; Do you see 2 different arrays, and what is the text in the sql log between "StartLogHere" and "EndLogHere" (i.e. what sql is run for each method call)? If it doesn't help solve the problem, putting the results in the bin might help others point out something. HTH, AD7six Please note: The manual/bakery is a good place to start any quest for info. The cake search (at the time of writing) erroneously reports less/no results for the google group. The wiki may contain incorrect info - read at your own risk (it's mainly user submitted) :) You may get your answer quicker by asking on the IRC Channel (you can access it with just a browser here:http://irc.cakephp.org). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
