If you go to http://www.softnuggets.com/index.html you will find the page I am trying to duplicate in PHP.
when you click on the next button at the bottom of the page I want to change pages.
right now, being html, it reloads the entire page.
I have the header, sidebar, and footer working, I am trying to change the text in the white area and was hoping I could do it with a switch statement.
Unfortunately, I am apparently missing an important piece of the puzzel when it comes to passing values from module to module.
Right now test2.php is the main program using 4 include statements
One for the header, the sidebar, the text area and the footer.
It displays page 1 ok, but I cannot get it to pass the value $pages="body2.inc.php" to the vars.inc.php where the case statement is.
As you can see from the original html page, I will be moving among subdirectories as well. This is why I am attempting to get the first two pages of the index page to work.
Now that you are throughly confused as to my design capabilities, Thanks for your help.