Re: [PHP] Passing a Variable to PHP Via the URL

2002-06-11 Thread Philip Olson
> My understanding is that when passing a querystring to PHP via the URL > with the GET method, PHP will automatically create a variable with the > name and value from the querystring. I'm trying to do this and it's > not working. Yes, if you have: example.com/foo.php?id=33 In the old days,

[PHP] Passing a Variable to PHP Via the URL

2002-06-11 Thread jsegovia
My understanding is that when passing a querystring to PHP via the URL with the GET method, PHP will automatically create a variable with the name and value from the querystring. I'm trying to do this and it's not working. Here's my code from an online tutorial (angle braces replaced with curl