Sorry for the lack of clarity on that! The variables represent the
changing content for each page of my site. Every page has the
same variables but with different contents to them.
Here is what I am attempting in my newbie-half-baked way.
Every page on my small site is composed of 4 variables: $content, $bodybg, $lcolpad and $title.
example page code for my /experience/index.php page
might look like this:
I am trying to learn how to make a simple cms tool where you
type in the URL of a file on my server, press submit and up comes a form with 4 textareas, each displaying one of the variables. You can re-type the stuff and press save and it then rewrites the old
page with the new variables contents. I know other people have done this better and the site is so small I dont really need a PHP
form to edit pages cuz' there are only about 15 pages total anyway. It's basically a learning tool for me.
Anyhow when I include(); a page it not only puts the variables into each textarea (yay!) but it also process the code on the bottom and ends up displaying the entire html template and all (bad...).
Thanks for your reply SleeperZ