> Also, make sure that your method ends with: > return($datayouwanttoreturn);
Thank you! This is what I was missing. I'm so used to CakePHP being magical that I assumed it'd to something amazing like return the $this- >set variables automatically. Now that I've ended the method being called with return($anArrayContainingTheVariablesToGetOut), it's working perfectly. Thanks! > You can also define the function in your method That's another good point. I can't believe I overlooked that this method should probably belong to the model, not the controller. (I had last week off work and spent most of it working on my own CakePHP project, and I was getting in the habit of using the model more for a yummy, equally-layered cake. Now I'm working on an older project again, with code from before I knew CakePHP well.) Thanks again! Zoe. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
