There is nothing that says you can't redefine the a value in the $_GET array and then create your link... See if something like this works for you.
$_GET['a'] = ($_GET['a']+1);
$qryurl = "";
foreach($_GET AS $k => $v){
$qryurl .= $k."=".$v."&";
}
$stringlength = strlen($qryurl);
$qryurl = substr($qryurl, 0, ($stringlength-1));
echo "<a href=\"link.php?".$qryurl."\">Click Me</a>";
In any respect, you always want to build in error checking to check for the existence of desired variables... That way if someone tried to injec t into your script, you could unset rogue variables so they don't get mixed up in your output links... You probably also want to check the referring source just in case injected variables are named the same as yours...