自定义链接页面标题与PHP [英] Custom Chaging Page Title with php

查看:52
本文介绍了自定义链接页面标题与PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://microstudios.co.cc/


我认为这应该很容易,但我根本无法解决这个问题...我正在努力使页面的标题根据包含在内的页面而改变我的基础index.php。


i在index.php中设置了一些内容,以便我使用这段代码

http://microstudios.co.cc/

I assume that this should be quite easy but i just cant figure this out at all... I''m trying to make it so that the title of the page changes depending on the page that is included into my base index.php.

i have things set up within the index.php so that i use this code

展开 | 选择 | Wrap | 行号

推荐答案

@StarWallace
@StarWallace


_GET [''page'']立即可用,只需将其用作标题即可。我不确定你的问题在这里。你能提供更多代码吗?特别是定义标题的部分。
_GET[''page''] is available immediately, simply use it for your title. I am not sure what is your issue here. Can you provide more code? Especially the part where your title is defined.


你的标题是变量吗?除非你使用函数,否则应该可以访问它?
Is your title a variable? It should be accessible throughout unless you''re using a function?


这篇关于自定义链接页面标题与PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆