Hello,

I have the following php script:

test.php:
Code:
<?
if ($name) {
  echo $name;
}else{
  echo "No Page Name";
}
?>
and if you goto mysite.com/test.php?name=hello

it should display the text 'hello' on the page where the script is put but it don't work.

does anyone know why this is not working for me?

When i run it, it comes up with 'No Page Name' rather then what I put in the URL

My web server is:
Apache version: 2.2.6 (Unix)
PHP version: 5.2.5

Hope someone can help

Thanks.