Forum Moderators: coopster

Message Too Old, No Replies

Simple PHP Variables

         

gemini18

9:47 pm on Dec 28, 2005 (gmt 0)

10+ Year Member



I need the name of individual web pages %title% (?) to appear at the top of a section. When the simple two or three word page title gets changed the top section title will automatically match.

(EDIT):
Exactly, how do I do this, please, and what is the precise variable name for the title of a Dreamweaver made page?

jc_armor

1:29 am on Dec 29, 2005 (gmt 0)

10+ Year Member



you can use $_SERVER["SCRIPT_NAME"] or $_SERVER["REQUEST_URI"]

gemini18

10:30 pm on Dec 30, 2005 (gmt 0)

10+ Year Member



I have many ideas about what can be done with PHP, but no real skills. Please, give the format for placing this within a page.

Thank you.