Source Code:
(back to article)
<?php $array = ["item1" => "value1", "item2" => "value2", "item3" => "value3"]; $query = http_build_query($array); $url = "example.com/script.php?" . $query; echo $url;
Result:
Report an issue