hello again,
i have one more problem im trying to get past, i have a url structure like this....
how would i make a multiple variable so i can also use this....
but not at the same time, either one or the other, i have attached the code for the page below and if anyone has a moment to spare it would be great if you could tweak my code in order to do as stated above, thanks for your time and i look forward to hearing from you guys, this community rocks!
<?
$page = $_GET['page'];
$category = "products";
$template = "resources/templates/$category/$page.php";
//Dynamically Create Page Structure
include("resources/includes/header.php");
if (file_exists("$template")) {
include("$template");
} else {
echo("<div class=\"content-box\">");
echo("<h4>Ooops</h4>");
echo("<p>Page Not Found</p>");
echo("</div>");
}
//End Of Structure Creation
include("resources/includes/footer.php");
?>
Nathaniel Blackburn