tp有关问题

WBOY
Release: 2016-06-13 12:12:06
Original
1018 people have browsed it

tp问题

                                            

  • selected">
                                                    $vo['id'],'classifynav'=>$vo['classifynav'],'contentid'=>'adjust','bigclass'=>$vo['name'],'token'=>$vo['token'],'otherlink'=>$vo['otherlink'],'wecha_id'=>$_GET['wecha_id']))}">{pigcms:$vo.name}
                                                

  •                                         

     为什么会报错syntax error, unexpected '
    ------解决思路----------------------

    引用:
  • ‘{pigcms:$vo.id} EQ "pigcms:$_GET[classid]}>selected">

    双引号中间又使用了双引号~ 


  • 应该这样.....
    <li class="<if condition='{pigcms:$vo.id} EQ {pigcms:$_GET[classid]}'>selected</if>">
    Copy after login
    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