Ver original<?phpecho '<a href="pagina.php?q=', urlencode($variables), '">';?>
Ver original<?php$query = $_GET['q']; foreach (explode('&', $query) as $chunk) { $param = explode("=", $chunk); if ($param) { printf("Valor para \"%s\" es \"%s\"<br/>\n", urldecode($param[0]), urldecode($param[1])); }}?>