problem with ?id
Posted: Fri Oct 07, 2005 3:44 am
I have a testbed on my machine which i use to test my code first.
on my page i have a link as below
<p><h3><a href="products.php?id=Travel Bag">Handbags</a><img src="gifs/dot.gif" alt="Designer Handbags" width="2" height="2" border="0"></h3></p>
on the php page i use the following to get the id.
$choice=$_GET['id'];
This works well on my machine but falls over when I upload the pages and returns no results. Please can someone shed some light onto this for me.
Do I need to put it in some other way
Thanks in anticipation
Nuts
on my page i have a link as below
<p><h3><a href="products.php?id=Travel Bag">Handbags</a><img src="gifs/dot.gif" alt="Designer Handbags" width="2" height="2" border="0"></h3></p>
on the php page i use the following to get the id.
$choice=$_GET['id'];
This works well on my machine but falls over when I upload the pages and returns no results. Please can someone shed some light onto this for me.
Do I need to put it in some other way
Thanks in anticipation
Nuts