SyntaxFix
Write A Post
Hire A Developer
Questions
This is another way of solving this problem.
$data = array( 1, 4, 'a' => 'b', 'c' => 'd' ); $query = http_build_query(array('aParam' => $data));