public $keywords='TLA Consulting,Three Letter Abbreviation,some of my best friends are search engines';public function DisplayKeywords()
{
echo "<meta name=\"keywords\" content=\"".htmlentities($this->keywords)."\" />";
}
利用类来生成风格统一的页面,请看以上的代码,就是老报错,但不知道错在哪里????请高手指点一下!!谢谢
{
echo "<meta name=\"keywords\" content=\"".htmlentities($this->keywords)."\" />";
}
利用类来生成风格统一的页面,请看以上的代码,就是老报错,但不知道错在哪里????请高手指点一下!!谢谢
{
echo " <meta name='keywords' content='.htmlentities($this->keywords)." />";
} 看还报错不,php一般来说可以不用这样的转义字符