tp问题

WBOY
WBOYOriginal
2016-06-23 13:43:05962browse


                                            

  • 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 '


    回复讨论(解决方案)

    这种语法错误还贴出来?  实在不行一行行删除来定位错误也很快吧

    这种语法错误还贴出来?  实在不行一行行删除来定位错误也很快吧

     要是我能找到就不贴了。。。感觉thinkphp标签好难用


    这种语法错误还贴出来?  实在不行一行行删除来定位错误也很快吧

     要是我能找到就不贴了。。。感觉thinkphp标签好难用 我表示没有用过 语句错误仔细对照一下官方文档

  • selected">

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

  • 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