Home  >  Article  >  Backend Development  >  tp有关问题

tp有关问题

WBOY
WBOYOriginal
2016-06-13 12:12:06986browse

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>">
    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