LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Ben Date: Thu Nov 1 04:38:19 2007 Subject:
{assign_by_ref} or sth. similar in a temp
late
Hi folks,
sorry for the maybe misleading subject. My problem is, I want to
display a variable in a template, that's value
is assigned later in the template, e.g.
{$mytext}
{include file="test.tpl}
test.tpl contains anywhere
{assign var="mytext" value="sometexthere"}
but this does not work, with a test to add {$mytext} behind the
assignline, show, that the vriable only exists after the assignment.
so the question is is there something like a assign_by_ref inside
the template, where the var is assigned before it gets filled with
the real content
and filled with the real content later?
thx
Ben
| Navigate in group php.smarty.general at sever news.php.net | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |