Posted by:
JimBobble
(---.sip.owb.bellsouth.net)
I'm sure this is a rookie question, but it has me stumped. I am passing variables via the URL in this fashion:
[
localhost]
In the PHP, I check for the "type" value by doing the following:
if ($type == NULL) {
$type = "home";
}
The PHP code then uses the "type=" declaration to change the content based on the value. If the "type" variable is missing, it assumes "home."
My code is working fine on a "live" server, but locally on WAMP the variable is ignored. In other words, no matter what I put after the ? in the URL, I get the "home" content.
Is there some setting I'm missing in my WAMP PHP or Apache setup that allows variables to be passed in this fashion?
Thanks in advance!