Home >Backend Development >PHP Tutorial >求讲授THINKHP模板调用函数

求讲授THINKHP模板调用函数

WBOY
WBOYOriginal
2016-06-13 11:18:30793browse

求讲解THINKHP模板调用函数
{$list['id']|function=###}这样可以正常调用,$list['id']取到的值是0,但如果改成{0|function=###}则没办法正常调用。直接在页面显示{0|function=###}。
求解


------解决方案--------------------
{:function($list['id'])}
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn