OK, I see what you mean. I guess I should explain better, sorry. I'm using this array set to allow navigation between "created" pages, cars.php, trucks.php, etc. How do I use the $_GET[] variable to create one page that will dynamically generate the Car info or the Truck info.
<?php
$links_arr = array(
"Cars" => "cars.php",
"Trucks" => "trucks.php",
"SUVs" => "suvs.php",
);
$separator = " <br> ";
for (reset($links_arr); $name = key($links_arr); next($links_arr)) {
$hyper = 1;
if ($REQUEST_URI == $links_arr[$name]) {
$hyper = 0;
}
if ($hyper) {
print "<A HREF=\"" . $links_arr[$name] . "\">";
}
print $name;
if ($hyper) { print "</A>"; }
if (next($links_arr)) { print $separator; prev($links_arr); }
}
?>
Sorry for the stupid questions, I'm trying real hard to understand this stuff but some of it escapes me.
Thanks for your considerate replies.