Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php create url with query sting from array


<?php
$data = array(
    'foo' => 'bar',
    'baz' => 'boom',
    'cow' => 'milk',
    'php' => 'hypertext processor'
);

echo http_build_query($data) . "
";
echo http_build_query($data, '', '&');

?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #create #url #query #sting #array
ADD COMMENT
Topic
Name
3+7 =