how to add a value to a url in php code example
Example: php add get to link
$url .= $url.(parse_url($url, PHP_URL_QUERY) ? '&' : '?').'category=action';
$url .= $url.(parse_url($url, PHP_URL_QUERY) ? '&' : '?').'category=action';