0) { $sep = "&"; } $val = "$val{$sep}__elgg_token=$token&__elgg_ts=$ts"; } echo "". htmlentities($val, ENT_QUOTES, 'UTF-8'). ""; }