Question : php add get to link
Answered by : quin-pullens
$url .= $url.(parse_url($url, PHP_URL_QUERY) ? '&' : '?').'category=action';
Source : https://stackoverflow.com/questions/5809774/manipulate-a-url-string-by-adding-get-parameters | Last Update : Sat, 24 Oct 20