Well that explains a lot! In 20 years I have never used a case sensitive variable language, and my eyesight is pretty bad too, so thanks!
Thanks – however I got the numbver to work but no permutation will make the url string work…
<?php
$myUserID = 123;
echo $myUserID; // ok
$myUrl="www.domain.com/pagename/?uid=".$myUserId;
echo $myUrl; // shows ?uid= blank
$myUrl='www.domain.com/pagename/?uid='.$myUserId;
echo $myUrl; // shows ?uid= blank
$myUrl="www.domain.com/pagename/?uid=$myUserId";
echo $myUrl; // shows ?uid= blank
?>