Source Code:
(back to article)
<?php $query_array = [ "key1" => "value1", "key2" => "value2", "key3" => "value3", ]; $query_string = http_build_query($query_array, "&"); echo $query_string;
Result:
Report an issue