Hello everyone, I have a question.
Which is the best solution to make a function that read the $_GET variable and create an url query?
My solution is the next...
foreach ($_GET as $variable => $value) {
$conditions[] = "$variable=$value";
}
$urlquery = implode('&', $conditions);
$url = $_SERVER['PHP_SELF'] . '?' . $urlquery;
but I'm sure that it's not the best...