1. System function usage:
2. Custom function usage:
//smarty.html 模板{SpeakHello()}
display('smarty.html'); ?>
Recommended:php tutorial,php video tutorial
The above is the detailed content of How to use external functions in smarty?. For more information, please follow other related articles on the PHP Chinese website!