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

求讲授THINKHP模板调用函数

WBOY
Release: 2016-06-13 11:18:30
Original
794 people have browsed it

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


------解决方案--------------------
{:function($list['id'])}
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template