View Full Version : Extract variable from URL

01-07-2007, 10:52 PM
Is there a way to retrieve variabl data from the address bar and pass it to a page and also an iframe within that page?

I have managed to send data from one page to another with the _GET statment.

Any help or a point in the right direction?


Lawn Gnome
01-07-2007, 11:59 PM
its the same as passing information. use $_GET.

say u have mysite.com/view?id=10

$_GET['id']; would return "10"