php报错~Using $this when not in object context in
Fatal error: Using $this when not in object context in /home/wwwroot/www.bestwei.com/index.php on line 1php头
need('header.php');
?>
尝试了修改为 $this=need('header.php');
会出现Fatal error: Cannot re-assign $this in /home/wwwroot/www.bestwei.com/index.php on line 11
need('header.php');
?>
have()): ?>
next()): ?>
theId(); ?>">
options->themeUrl(''); ?>657x141/theId(); ?>.jpg) no-repeat 5px 5px ;">permalink() ?>" title="title() ?>" class="m4go_cate_list_titlepic">
options->themeUrl(''); ?>600x50/theId(); ?>.png) no-repeat; ">permalink() ?>" title="title() ?>">title() ?>
content('阅读剩余部分...'); ?>
[ 本帖最后由 javaluo 于 2011-4-15 23:14 编辑 ] 没有上下文,无法解答 index.php文件劈头盖脸就来句 $this->....,你让PHP情何以堪啊? 用zend studio看
页:
[1]