【发布时间】:2023-03-13 22:21:01
【问题描述】:
ENDIF 在模板中做了什么?
【问题讨论】:
-
每个
if都有一个endif。 -
如果您无法自行解决,请不要编码
ENDIF 在模板中做了什么?
【问题讨论】:
if 都有一个endif。
if(condition):
// some scripts here
endif;
同
if(condition)
{
// some scripts here
}
见http://php.net/manual/en/control-structures.alternative-syntax.php
【讨论】:
php if endif 比写这个问题要快得多。
I have no time for it 所以我们应该为你腾出时间?
if是做什么的吗?