Possible Duplicate:
Parse query string into an array
How can I explode a string such as:
a=1&b=2&c=3
So that it becomes:
Array {
[a] => 1
[b] => 2
[c] => 3
}
Using the regular explode() function delimited on the & will separate the parameters but not in [key] => [value] pairs.
Thanks.