首页  >  文章  >  后端开发  >  这是cakePHP的异常吗

这是cakePHP的异常吗

WBOY
WBOY原创
2016-06-13 13:50:36693浏览

这是cakePHP的错误吗?
最近想学习一个PHP的框架,然后就在网上找了一下,都说挺好的,可是我下下来部署到PHPEclipse以后发现里面有个红叉,我又重新下载了一个还是有,这个红叉刚好在cakePHP的核心包里面,不知道是怎么回事?

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
                     
                <div class="actions">
                    <ul>
                <?php echo "\t\t<li>" .$html->link(sprintf(__('Edit %s', true), $singularHumanName), array('action' => 'edit', ${$singularVar}[$modelClass][$primaryKey])). " \n";
                    echo "\t\t<li>" .$html->link(sprintf(__('Delete %s', true), $singularHumanName), array('action' => 'delete', ${$singularVar}[$modelClass][$primaryKey]), null, __('Are you sure you want to delete', true).' #' . ${$singularVar}[$modelClass][$primaryKey] . '?'). " </li>\n";
                    echo "\t\t<li>" .$html->link(sprintf(__('List %s', true), $pluralHumanName), array('action' => 'index')). " </li>\n";
                    echo "\t\t<li>" .$html->link(sprintf(__('New %s', true), $singularHumanName), array('action' => 'add')). " </li>\n";
                

<br>就是以上几句<br><br><font color="#e78608">------解决方案--------------------</font><br>
eclipse的html校验错误吧,没关系的 <div class="clear">
                 
              
              
        
            </div>
</ul>
</div>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn