ADVANCED SEARCH This is a search page https://www.myweb.com/searchresults.php $params=""; foreach($_REQUEST as $name=>$value) { //we propagate all parameters to the search results except the controller page if ($name!="controllerPage") { $params=$params.$name."=".$value."&"; } } ?> This is a result page