PHP obtenga una cadena de consulta
<?php
echo $_GET["query_name"]; // url queries are stored in $_GET
?>
Smiling Swan
<?php
echo $_GET["query_name"]; // url queries are stored in $_GET
?>
$str = "first=value&arr[]=foo+bar&arr[]=baz";
// Recommended
parse_str($str, $output);
echo $output['first']; // value
echo $output['arr'][0]; // foo bar
echo $output['arr'][1]; // baz