Have my default table setup for the page, and I load the content .html document into the table using "require($page)" and then for my links I'm just using "index.php?page=whatever.html", which would load the "whatever.html" into the table.
Now what I'm trying to figure out is how to give the $page variable a default value, so when you load just "index.php", without the $page variable being specified, it'll just load "home.html", for example.
Or, if there's a more efficient way to do what I'm trying to do, let me know.
Now what I'm trying to figure out is how to give the $page variable a default value, so when you load just "index.php", without the $page variable being specified, it'll just load "home.html", for example.
Or, if there's a more efficient way to do what I'm trying to do, let me know.