by Daen » 15. May 2006 20:30
I noticed this myself when I started working on XAMPP. It seems to make the PHP code a little more picky than I'm used to.
Anyway, I used to normally just send id in the URL like you do, then just assume $id was set to whatever the URL said, and it worked. With XAMPP I had to change it a bit, since it looks like it doesn't allow the vars to be automatically set. Since vars sent in the URL are sent as the GET method, you have to access them in the $_GET superglobal.
so try this at the beginning of your file:
$id = $_GET['id'];
Hope that helps.