I need someone to help me create a PHP and meta tag script. Basically heres what I have in mind, but I do not exactly know if its correct. My content module uses ?page, therefore the title would be like this in the index: <title>My website - <? Page title?></title> And something like this would be on the content file: <title>Contact Us</title> So basically I need a script that takes the title in my content box and puts it in the index title. The same script should also be used for meta tags. Killingfloor411.com You can see what i mean by my content module.. P.s. I found this on the internet: Would that work?
I think you have your full answer already in front of you That would work just as you described. Define the title in a variable and then echo it as in the example