首页
开发手册
应用中心
工具
用户中心
Ease Template Logical Judgment
English
中文简体
English
上一篇
下一篇
### Ease Template Logical Judgment Logical judgment introduces templates. Many programmers are more disgusted with this approach. They feel that templates only need to be responsible for the page and do not need to participate in logical processing. In order to meet the needs of various types of users, here is an extremely simple way to use templates for developers. Ease Template logical judgment is the same as PHP logical judgment, and you can use (), which brings convenience and hopes that the writer has good coding habits. Please unify the standard. test_3.php ``` set_file('test_3'); $tpl->p(); ?> ``` In order for you to better understand the use of Ease Template in the template, you can choose the usage according to your preferences. view/test_3.htm ``` judge sentences: Variable a is {a} Variable a is empty Variable a is established variable comparison: variable a is equal to variable b variable a is greater than variable b variable a is less than variable b ```