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

WBOY
Release: 2016-06-02 11:28:15
Original
1012 people have browsed it

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>
Copy after login

tp框架,它循环输出了所有的图片,没有按照我写if条件的输出
入股我加了还会报错

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!