What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
I tag php vi consentono di incorporare codice php direttamente nel template. Non sarà fatto l'escape, indipendentemente dall'impostazione di $php_handling. Questa funzione è solo per utenti avanzati, normalmente non dovreste averne bisogno.
Example 7.14. tag php
{php} // inclusione di uno script php // direttamente dal template. include("/path/to/display_weather.php"); {/php}