亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

literal function

literal function:

Literal The data in the label area will be treated as text, and the template will ignore all characters inside it. Information.

This feature is used to display javascript that may contain character information such as braces. Script.

can also be used to output braces when {} is forced to be interpreted.

When this information is in {literal}{/literal } tag, the template engine will not analyze them and display them directly.

eg1:

{foreach from=$custid item= curr_id}
id: {$curr_id}<br>
{/foreach}

Output:

微信圖片_20180313102155.png

eg2:

##{literal}{foreach from=$custid item=curr_id}
id: {$curr_id}<br>
{/foreach}
{/literal}

Output:

微信圖片_20180313102044.png



Continuing Learning
||
<?php echo "literal函數(shù)";
submitReset Code