<?php
$go = $_SERVER['QUERY_STRING'];
echo $go."<br/>";
if (!isset($go) || empty($go) || $go='')
{
echo "Home";
}
else
{
echo "You are headed towards: ".$go.";";
}
?>
if i surf to:
/?1
/?2
/?3
/?4
etc...
it outputs the query value on this line:
echo $go."<br/>";
but on the control structure, i get a blank space in this output:
echo "You are headed towards: ".$go. ";";
what am i doing wrong?