Displaying php variable from tpl file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wihvd
Forum Newbie
Posts: 6
Joined: Mon Mar 29, 2010 12:29 am

Displaying php variable from tpl file

Post by wihvd »

Hi, how can I display php variable from tpl file?
User avatar
Mini
Forum Newbie
Posts: 23
Joined: Mon Dec 04, 2006 4:39 am
Location: Netherlands

Re: Displaying php variable from tpl file

Post by Mini »

Hi,
That depends on how the script opens the tpl files.
Does:

Code: Select all

<?php echo $var; ?>
work? :P
Post Reply