Posted by Toby Inkster on 12/11/05 15:08
Jeff wrote:
> How should I access these parameters in url and get them placed in an array?
> I've looked at $_server['query_string'] and $_server['http_host'] and I'm
> NOT sure one of them are the correct one to use...
I think you want $_GET.
On a page "test.php?foo=1&bar=2" then $_GET['foo'] will equal 1 and
$_GET['bar'] will equal 2.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|