passing a parameter to {include_php }
| From: | Ryan Allen | Date: | Wed, 13 Aug 2003 02:22:57 +0000 |
| Subject: | passing a parameter to {include_php } | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10041@lists.php.net to get a copy of this message | ||
I've got some code that I want to do something like a post to a .php
file and include it in the middle of a script:
{include_php file="myfile.php"}
but what I really need it do is something like:
{include_php file="myfile.php?viewStats=$viewStats"}
It's in the middle of my template. Any suggestions??
Thanks!
-- Ryan