RE: [SMARTY] include_php file with paramters?
| From: | Josh Johnson | Date: | Wed, 06 Nov 2002 15:48:49 +0000 |
| Subject: | RE: [SMARTY] include_php file with paramters? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6334@lists.php.net to get a copy of this message | ||
Try {include_php style_id="1" action="view" newsid="3"}
-- Josh
-----Original Message-----
From: news [mailto:news@main.gmane.org] On Behalf Of Kai-Uwe Beyer
Sent: Wednesday, November 06, 2002 10:35 AM
To: smarty-general@lists.php.net
Subject: [SMARTY] include_php file with paramters?
Hi,
i want to rebuild my page with smarty templates.
I have a big problem with including external scripts, which need
parameters.
They get their parameters from the own script.
The function
{include_php file=$news}
where
$news = news.php?style_id=1&action=view$newsid=3;
The smarty enginge gives a error:
'file:/home/web/smarty/docs/news.php?style_id=1&action=view$newsid=3'
is not readable
How i can include external scripts with passing parameters thru this
scripts?
Thx ksi
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php