I have a dynamic javascriupt form that submits the following to php:
index.php?age1=1&age2=2
and this code checks to see if the variables are set:
if(isset($age1))
{
$Ages="$age1";
}
elseif(isset($age2))
{
$Ages .= ", $age2";
}
else
{
}
But it never reads further than $age1 no matter what. Any ideas why (isset($age2)) is always false?