<?php $str = "sortAfter=1&searchString=vsfweew"; list($e1,$sortAfter,$e2,$searchString) = preg_split("/=|&/",$str); $arr[$e1] = $sortAfter; $arr[$e2] = $searchString; print_r($arr);
You have javascript disabled. You will not be able to edit any code.