首页
开发手册
应用中心
工具
用户中心
Ease Template 引用PHP
English
中文简体
English
上一篇
下一篇
### Ease Template Quoting PHP The new version of Ease Template adds a php reference method. For many people, you may not understand what this function does. The following will show you how to use it. The php program only references the test_14.htm template file without special operations. test_14.php ``` set_file('test_14'); $tpl->p(); ?> ``` The file is referenced by the template, and the GET variable action is printed. If you are a lazy person, you can directly type $action inc_php.php ``` ``` The root directory inc_php.php file is quoted here, and GET an a parameter to the php file. view/test_14.htm ``` The template references the php file: Syntax 1 to get a variable:{inc_php:inc_php.php?a=ET} Syntax 2 to get a variable: ```