I've changed the way I've done my website, over time, and I've had to include each of these in my header.php file to capture the same thing. Each of these is capturing a referral number in the URL, if there is one:

$x = $_REQUEST['x'];
$sponsor = $_REQUEST['sponsor'];
$source = $_REQUEST['source'];

To make things less complex elsewhere in the code, how can I change this code so no matter which format is found, it will use $sponsor ? Can I just change it to this?

$sponsor = $_REQUEST['x'];
$sponsor = $_REQUEST['sponsor'];
$sponsor = $_REQUEST['source'];

That way, no matter if x, sponsor, or source is supplied in the URL, it will be stored as sponsor. Right?