I am trying to grab a value from the url then use it in an if statment like so
<?
$test= echo [$x];
if ($test > 40) {
echo "Yes, $test is greater than 40.";
}
?>
the url will be something like this
www.mydomain.com/test.php?x=56
but doest seem to work.
any ideas? this surely ist this hard