Re: PHPizabi - Applying php in TPL (smarty template engine)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi there!
> Any know how Can I use PHP code into Smarty Temple Engine (TPL files) ?
> I usued {php} include("text.php"); {/php} but the code don't run simply
> output the code.
> What's the problem? Wht don't run?
>
> Thankx,
> Luciano Felli

it may be the file path.
try echoing something before the include and see if it shows.

here is a collection of smarty tips and techniques
http://www.jampmark.com/php-programming/16-very-useful-smarty-scripting-tips-and-techniques-to-make-templates-smarter.html

hope you find it useful.

good luck.

virgil

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux