日期:2014-05-17  浏览次数:20560 次

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

                     
                <div class="actions">
                    <ul>
                <?php
                    echo "\t\t<li>" .$html->link(sprintf(__('Edit %s', true), $singularHumanName), array('action' => 'edit', ${$singularVar}[$modelClass][$primaryKey])). " </li>\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";
                


就是以上几句

------解决方案--------------------
eclipse的html校验错误吧,没关系的