Home > Backend Development > PHP Tutorial > 遍历数组,该怎么解决

遍历数组,该怎么解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:38:03
Original
818 people have browsed it

遍历数组
前台这么遍历数组应该没有错吧

<br /><!--{loop $allinpaybank $bank}--><br />    <input id="check-{$bank}" type="radio" name="payment" value="{$bank}" /><br />    <label for="check-{$bank}" class="{$bank} bankicon"></label><br /><!--{/loop}--><br />
Copy after login


遍历在结果在页面显示的是
{loop $allinpaybank $bank}⊙{/loop} 


⊙为 checkbox

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