We have a general problem with passing of variable data.
We have two embedded templates within a main template. Values are passed to this template, also querying and looping is done within these embedded templates making various calculations. Once we have made the calculations we are unable to get these values back to the calling template.
We have tried using global variables in PHP, does not seem to work.
How can we achieve this within EE? What we need to be able to access embedded template variables from the main template.
Any help would be appreciated.
Mark
[Mod Edit: Moved to the How To forum]