In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Aaron Moore) wrote:

> Ok if you have a query string from like file.php?bob=manager&phil=employ
> how do i split the bob=manager and phil=employ dynamically?
> because i may have 2 or 3 elements and i just want to sepearte them all and
> access them via an array such as if ($var["bob"] = "manager")

If track_vars is on (always true if version >= 4.0.3), then the global vars 
$HTTP_GET_VARS['bob'] and $HTTP_GET_VARS['phil']  are already set.

And if register_globals is on, then the global vars $bob and $phil are also 
already set.

See <>.


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to