>>91
一番最初に $url = 'http://hoge.com/test.php?id=a&dr=tn'; というのがあって、
それをパースしたいってことだろうねぇ。
$query を parse_str() に突っ込めばよいかと。