Re: Problem with $_GET



Oops! Just spotted the obvious .. the variable is $house and not
$houseno!

googleaccount@xxxxxxxxxxxxxxxxxxx wrote:

I have a URL to a test file which is:
http://localhost/gallery/mypictures/1730101/index.php?houseno=test

The simple code in untitled.php is:
<?php
$path=$_GET['$house'];
echo $path;
echo $houseno;
?>
However, the output is:
"test"
and not:
"testtest"
as anticipated.

I am trying to get the variable into a custom function without any
success. Can anyone help?

.



Relevant Pages