Can the include statement be dynamically decided?
| From: | Francois Dumais | Date: | Sun, 30 Dec 2001 08:43:20 +0000 |
| Subject: | Can the include statement be dynamically decided? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2443@lists.php.net to get a copy of this message | ||
Hi all,
I wanted to make a generic "wrapper/includer" using the include statement in the
templates. But now I am wandering if it is realistic.
Can an include statement be placed within a control loop and the filename of the template to be
included be decided dynamically upon looping?
Thank you.
Francois Dumais