<input name="pagestyle" type="radio" id="pagestyle1" onclick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?> /> 多页多图显示(适用于QQ表情等)
 请问这么写语法有错吗?还有用zendstudio打开时总是提示这种类似的错误

解决方案 »

  1.   

    Multiple annotations found at this line:
    - Tag (input) should be an empty-element tag.
    - Invalid character used in text string (<?php if
     ($cfg_album_style==1) echo " checked='checked'"; ?> /> 多页多图显示(适用于
     QQ表情等) ).
    - Start tag (<input>) not closed.
    - Invalid text string (<?php if($cfg_album_style==1) echo " 
     checked='checked'"; ?> /> 多页多图显示(适用于QQ表情等) ).
    这是zendstudio里提示的错误
      

  2.   

    怎样可以去掉zendstudio里提示的错误呢?我那个代码是直接从dedecms导入到zendstudio里的
      

  3.   

    也只有这样了,不知道是不是zendstudio哪里设置的问题
      

  4.   

    这是因为你使用的DOCTYPE和你的文档无法匹配啊。所以zend的分析器就给你提示了。不鸟它。
      

  5.   


    可以设置的过滤的,要不然你会给它烦死,在提示错误那个地方 找右边的属性配置 找到里面有 什么all errors
    找到 type 把里面的HTML problem 把勾去掉