Home >Backend Development >PHP Tutorial >thinkphp foreach标签

thinkphp foreach标签

WBOY
WBOYOriginal
2016-06-06 20:41:27894browse

thinkphp foreach标签

thinkphp foreach标签

thinkphp foreach标签

回复内容:

thinkphp foreach标签

thinkphp foreach标签

thinkphp foreach标签

把第二个foreach{}$去掉,试试。
我这边是可以的。

<code><foreach name="test" item="d">
        {$d.name}
        <foreach name="d['child']" item="e">
            {$e},
        </foreach>
</foreach>
</code>

= =||本地测试前,我还搜了一下,结果>>(百度知道的,不要打我……
ps:题主还是贴代码比较好,不要全部都是截图,难道截图不是更麻烦么?

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