Referencing a couple of other posts this is what I came up with for my php block and it works...
The content for my PHP block is as follows:
$memID = $_COOKIE['memberID'];
$nick = getNickName($memID);
?><p style="margin:9px;">Hi <? echo $nick ?>! Your profile is incomplete please click <a href="pedit.php?ID=<? echo $memID ?>">here</a> to finish filling out your profile. Profiles with more details are viewed 83% more than profiles with little information.</p>
The following line pulls the current logged in users id from the cookie set on their computer:
$memID = $_COOKIE['memberID'];
This line gets the nickname of the user:
$nick = getNickName($memID);
and this prints the username within the html:
<? echo $nick ?>
and this prints the userid inside my edit link within the html:
<? echo $memID ?>
Just in case anyone else is stuck on this...
Keywords: PHP Block, MemberID, Member ID, Dynamic Link, Nickname, Username