<a href="member.php?s=&session[sessionhash]&action=getinfo&userid=$userid">
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid">