Variable scope question
| From: | Tim Fountain | Date: | Wed, 22 May 2002 16:29:19 +0000 |
| Subject: | Variable scope question | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4359@lists.php.net to get a copy of this message | ||
When you include a template inside a template, is there an easy way to
make all currently global variables available to the second template?
At the moment I'm having to assign each one manually, but this is for
a product where users may have their own variables which need to be
available to the template, so I can't assign them beforehand.
Cheers,
Tim.
--
Tim Fountain (tim@tfountain.co.uk)
http://www.tfountain.co.uk/
The way to make a small fortune in the commodities market is to start
with a large fortune.