How can I turn a string below into an array?
pg_id=2&parent_id=2&document&video
This is the
Use http://us1.php.net/parse_str
Attention, it's usage is:
parse_str($str, &$array);
not
$array = parse_str($str);