I know this is an often asked question but I am trying to get the following script to work
<p>
<a href="test.php?TestVar=1">Variable Test</a>
<?
if (!$TestVar) print "<font color='red'>- Not Set</font>";
if ($TestVar == 1) print "<font color='green'>- Set and
Displayed</font>";
?>
</p>
and currently all that is returned is not set. I have set register_globals on and restarted apache but it has made no difference. phpinfo confirms query_string value is "not set". Even manually typing "?TestVar=1" does not cause the variable to be set. Does anyone know anything else I can try
Thanks
Paul