Ok, I have just finished writing a php program for my site. What I have is a site that will have a drop down menu, when you select an item a few things will be done.

First my program will generate a side menu, create the Page Title, Meta Keywords and Descriptions, create a Breadcrumb Trail then pull the HTML content from the Database. Since everything is being pulled from a database I have it all in one program.

Now how do I get it to actually populate my page.My page is a three column layout with a header, subheader and footer. Three of the areas will pull values from the code I generated, but how do i get it there?

Do I define variables or do I break the code up?