So if you use the following code:
<?
$Var1="Rich Miles";
$Var1=urlencode($Var1);
?>
you could would get (in the url bar) something like:
test.php?Var1=Rich&20Miles
Then when you want to get rid of the "&20" you just do:
<?
$Var1=urldecode($Var1);
?>
and you will end up with "Rich Miles" again.