Home  >  Article  >  Backend Development  >  thinkphp-为何我的if条件不执行呢

thinkphp-为何我的if条件不执行呢

WBOY
WBOYOriginal
2016-06-02 11:28:151010browse

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条件的输出
入股我加了还会报错

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