我正在使用某人的PHP文件。 而且它有文字,如:「{%%}」語法的含義是什麼?
<html>
... regular HTML
{% if (some condition){
<another regular html tag>
</another regular html tag>
}%}
</html>
而且我不明白這一點,如果這些{%標籤%}是JavaScript或PHP,或其他什麼東西? thx。
我正在使用某人的PHP文件。 而且它有文字,如:「{%%}」語法的含義是什麼?
<html>
... regular HTML
{% if (some condition){
<another regular html tag>
</another regular html tag>
}%}
</html>
而且我不明白這一點,如果這些{%標籤%}是JavaScript或PHP,或其他什麼東西? thx。
這是一些模板語言。最有可能的是服務器端,即基於PHP的服務器端。
看起來像一個模板給我。 {%
和%}
是模板系統,用於確定它在哪裏開展工作。
這能想到的原因有兩個:
用戶可能已經改變"<?" to "<%"
這是一個模板語言