Using the require function to load pages into a table. Table controls the layout, page being loaded is the actual content page. Anyways, I figured the easiest part would be to use
"index.php?page=pagenamehere" and then use the $page variable in the require to load whatever the variable says.
Well it works except it loads the page, then loads the page again, and again, and again, and I'm not sure how to make it stop.
THere a better was to do this or how do I stop it from looping?
"index.php?page=pagenamehere" and then use the $page variable in the require to load whatever the variable says.
Well it works except it loads the page, then loads the page again, and again, and again, and I'm not sure how to make it stop.
THere a better was to do this or how do I stop it from looping?