PDA

View Full Version : need help to executed php in a tpl file


koas
02-17-2008, 04:17 PM
hi need help to executed php file with a script in a tpl file.

i now how to display a php file with text {php}include("right1.php");{/php}
when i put this in my banner.tpl it work

but when i put a script on the right1.php file the script dont work

here below is the code that i whant to put on the file right1.php

<?php
here come the script

?>

fanks to everybody fore reading this
greetings

neurosis4u
02-17-2008, 04:42 PM
if it is a script, then try to put your script in the literal tags:


{literal}your script{/literal}