This paper briefly describes the Smarty template variable output method. Share to everyone for your reference, as follows:
The config.inc.php configuration file is as follows:
Include_once (' smarty/smarty.class.php '); $smarty =new smarty (); $smarty->c>Include ('./config.inc.php '); $title = "php test title"; $c >Test array: Title | name | The Age--------------------------------------------------------------------------------test content is: Smarty practice! Circular News content: PHP program test-2015-08-01php Video Tutorial-2015-08-02smarty study-2015-08-03
It is hoped that this article will be helpful to everyone based on smarty template PHP program design.
The above describes the Smarty template smarty Simple template variable output method original, including the content of the Smarty template, I hope that the PHP tutorial interested in a friend helpful.