I am using PHP & mySql to grab the title and description that I have stored in a table in the DB.
I am trying to dynamically change the <head> <title></title>, as well as <meta name="Description" content="" /> .
I used document.title to change the title. I see the title changing in the browser, but when I click on view source in the browser to see it int he code, the title is empty. How can I also see it in the code?
How do I change the description in the meta tag?