Click to See Complete Forum and Search --> : URL Parsing/Value Passing


Anon
12-29-2000, 11:18 AM
Hello all!

I've never posted here before, but have run into an issue that I am unable to solve on my own. I am fairly new to PHP development, and so am hopeful that someone out there knows what i need to know right now.

Now that the preamble is over, I am passing a variable through the URL, like

www.domain.com/pages/info?id=000001

What I am trying to do is grab that id value and display information from the database based on that value. How can I access that value? Any help you can give me would be greatly appreciated. Thanks!

Anon
12-29-2000, 06:18 PM
Magically your php script will have a variable called:

$id


You can use it just like any variable that you would create.