Problem with $_GET
- From: googleaccount@xxxxxxxxxxxxxxxxxxx
- Date: 24 Aug 2006 12:41:50 -0700
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?
.
- Follow-Ups:
- Re: Problem with $_GET
- From: googleaccount
- Re: Problem with $_GET
- Prev by Date: creating an array from a mySQL query
- Next by Date: Re: Problem with $_GET
- Previous by thread: creating an array from a mySQL query
- Next by thread: Re: Problem with $_GET
- Index(es):
Relevant Pages
|