|
Posted by Juliette on 10/30/05 18:37
Maximus wrote:
> a simple questions.
>
> how can I echo a variable made on in a PHP file inside a tpl file.
> the TPL file is included inside the PHP file.
>
> any suggestions?
>
Are you using a template parser ?
If so, look in the documentation of the parser.
If not, include the template only after you have created your variables
and by having {$variablename} in the tpl file where you want the
variable to be placed it will automatically be replaced.
Even so, it all really depends on your set up, i.e. how the tpl file is
used and interpreted, so the suggested solution may not work.
If it doesn't give us some code so we can make educated suggestions.
Navigation:
[Reply to this message]
|