Easy as boiling an egg!
{php}echo "hello!"{/php}
Second link down, for reference.
Edit as of Smarty 3.1:
As of Smarty 3.1 the {php} tags are only available from SmartyBC.
Source: http://www.smarty.net/docs/en/language.function.php.tpl
More Related Contents:
- Call to a member function on a non-object
- Why should I use templating system in PHP? [closed]
- What are .tpl files? PHP, web design
- 500 Internal Server Error?
- to delete 14 row by 1 click
- How to filter Browsers UserAgents with PHP? [duplicate]
- How to inject javascript code that uses php variables into php page
- Missing argument 1 for Lib?
- How to get the first key of many duplicated json key? [duplicate]
- I can’t view the database content on a php page [closed]
- Are arrays in PHP copied as value or as reference to new variables, and when passed to functions?
- Get raw post data
- Copy entire contents of a directory to another using php
- including php file from another server with php
- PHPmailer sending HTML CODE
- Retrieving Multiple Result sets with stored procedure in php/mysqli
- How to use WHERE IN with Doctrine 2
- How to get MAC address of client using PHP?
- CSV to Associative Array
- How to update/edit a JSON file using PHP [closed]
- Should my PHP functions accept an array of arguments or should I explicitly request arguments?
- What is the “?” symbol in URL used for in php?
- Warning: require_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0
- Easiest way to alternate row colors in PHP/HTML?
- How to fetch all in assoc array from a prepared statement?
- example of how to use fastcgi_finish_request()
- access denied for user @ ‘localhost’ to database ” [closed]
- PHP $_POST not working? [duplicate]
- Laravel change input value
- Execute a PHP script from another PHP script