阅读背景:

如何在包含文件之前获取php变量

来源:互联网 

I have a template which uses a php include file $content to display the main contents of the page. I want to have the page title change depending on the content. I can declare $pagetitle in the included $content php file but the problem is that in the layout the content is loaded after the pagetitle.I have a template which uses a php include file




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: