Is there anyway to put PHP commands in a TPL file? When I read the source code for my page it is all put together, but I can't make it run the PHP code in the tpl file.
It's a template file. It requires php template engine to read. e.g, like Smarty. You need to follow instructions to put commands in tpl file.