I am trying to use the code to change pages from a menu link. It does accomplish that except link 1 will include page2 and page3 information. Page2 includes page3 information. Finally page3 only contains page3 information.
I need each link to only display the called page information. What I am doing is I have a 3 column built. Index.php has includes for the header.php, left_menu.php, right_menu.php, footer.php, and the body.php
I am creating a menu to different pages within the website and my goal is to have each link only change the content of body.php. So if I click on a link to page1, page1 content will load in the body area. Click on page2 and page2 content will load into the body area w/o the page1 content being there.
hope this makes sense. If you know a better way to accomplish this with out the use of frames
that could work as well. Thanks
<!-- Page Header -->
<!-- End Page Header -->
<a href="index.php?page=page1">Click for page 1</a><br />
<a href="index.php?page=page2">Click for page 2</a><br />
<a href="index.php?page=page3">Click for page 3</a><br /><br />
<!-- Page Content -->
<!-- End Page Content -->