这是cakePHP的错误吗?
最近想学习一个PHP的框架,然后就在网上找了一下,都说挺好的,可是我下下来部署到PHPEclipse以后发现里面有个红叉,我又重新下载了一个还是有,这个红叉刚好在cakePHP的核心包里面,不知道是怎么回事?
- PHP code
- " .$html->link(sprintf(__('Edit %s', true), $singularHumanName), array('action' => 'edit', ${$singularVar}[$modelClass][$primaryKey])). " \n"; echo "\t\t
- " .$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] . '?'). " \n"; echo "\t\t
- " .$html->link(sprintf(__('List %s', true), $pluralHumanName), array('action' => 'index')). " \n"; echo "\t\t
- " .$html->link(sprintf(__('New %s', true), $singularHumanName), array('action' => 'add')). " \n";
-
<?php echo "\t\t
就是以上几句
------解决方案--------------------
eclipse的html校验错误吧,没关系的