Home > Article > Backend Development > thinkphp-为何我的if条件不执行呢
thinkphp框架php图片if
<code> <foreach name="haha" item="pp"> <if condition="({$pp.id}==1) && ({$pp.pos}==1) && ({$pp.poss}==1)"> <img src="%7B%24pp.path%7D%7B%24pp.name%7D" alt="thinkphp-为何我的if条件不执行呢" > </if></foreach></code>
tp框架,它循环输出了所有的图片,没有按照我写if条件的输出
入股我加了还会报错