What is the best way that I can pass an array as a url parameter? I was thinking if this is possible:
$aValues = array(); $url = \'http://www.example.com?a
This is another way of solving this problem.
$data = array( 1, 4, 'a' => 'b', 'c' => 'd' ); $query = http_build_query(array('aParam' => $data));