Page 1 of 1

How do I pull up the "Description" into the footer.php?

Posted: Mon Jun 22, 2009 5:09 pm
by franklymydear
Hi all, newbie here, Hi :D

I want to add each of my pages meta descriptions into the footer text, Im using a database, mysql etc. Is there a snippet that I could use with "echo" "description" or similar? I want the script to automatically add each pages individual description into the footer as opposed to the sites main description for the index page.

Thanks in advance

Re: How do I pull up the "Description" into the footer.php?

Posted: Tue Jun 23, 2009 3:10 am
by onion2k
I get the impression you're talking about a specific PHP application rather than general programming. You've not really provided enough information for anyone to help you though.

Re: How do I pull up the "Description" into the footer.php?

Posted: Tue Jun 23, 2009 5:36 pm
by franklymydear
onion2k wrote:I get the impression you're talking about a specific PHP application rather than general programming. You've not really provided enough information for anyone to help you though.
Hi, The specific script is a directory script and the description is coming from the database.

When a new category/sub category is added via admin, I add a description then on the preset "add category" form page.
I would like that description to be pulled into the individual pages footers so that they are unique to each page.