include_php and variable in file attribute
| From: | G | Date: | Sun, 28 Apr 2002 18:18:31 +0000 |
| Subject: | include_php and variable in file attribute | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3913@lists.php.net to get a copy of this message | ||
I need to do:
{include_php file="$php_file"}
Variables work with {include}, but apparently not with {include_php}. Any
work-arounds (other than using {eval} and putting a bunch of {literal}'s in
the included php files)?
Thanks,
Gerard