Re: PHP & TPL files
- From: Juliette <jrf_no_spam@xxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 17:37:25 +0100
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.
.
- Follow-Ups:
- Re: PHP & TPL files
- From: Maximus
- Re: PHP & TPL files
- References:
- PHP & TPL files
- From: Maximus
- PHP & TPL files
- Prev by Date: PHP & TPL files
- Next by Date: phpBB: cookie problem
- Previous by thread: PHP & TPL files
- Next by thread: Re: PHP & TPL files
- Index(es):