ı have a query_string and ı want to use it in array.
ı have found this way by myself but its just a little complicated ı am searching new way.
function query_to_array($query){
$pieces = explode("&", $dizi);
$seri=array();
$seri_two=array();
for ($i=0;$i<count($pieces);$i++)
{
$seri = explode("=", $pieces[$i]);
$seri_dizi[$seri[0]]=$seri[1];
}
return $seri_dizi;
}
this works great but ı need another way.