<div>Hi,</div>  <div>&nbsp;&nbsp;&nbsp; I created a block with the code that doesn't seem to be working but seems to give me the correct link anyway.&nbsp; I had a site of mine that was missing the link to my account.&nbsp; I could hard code in my own link and one for each user but that doesn't work, no one wants to see links to all the other users.&nbsp; So, I created a block that has a link that is of the form</div>  <div>drupalpath/user/&nbsp; where drupalinstall is the full path to my drupal installation.</div>  <div>This gives the user page for whomever is logged in.&nbsp; When I'm logged in it goes to</div>  <div>user/1/</div>  <div>when I log in another user that I created it goes to the other users page, e.g.</div>  <div>user/2/</div>  <div>I was using the variable $userid which seems to get thrown away in my code or is this working?&nbsp; Is there a different variable I might want to use besides $userid</div>  <div>Here's the code, which I hope will be obvious about 
 where
 the error might be.</div>  <div>&lt;?php<BR>$output = '';&nbsp; // single quotes<BR>$output .= '&lt;a href=';&nbsp;&nbsp; <BR>$output .= '"user/';&nbsp;&nbsp; // single quote with double quotes inside.<BR>$output .= $userid;&nbsp; // no quotes as I"m getting the $userid variable<BR>$output .= '"&gt;Account/Profile details&lt;/a&gt;';<BR>return $output;<BR>?&gt;</div>  <div>&nbsp;</div>  <div>If it just needs /user/ for the full path to any users account listing, then&nbsp;I don't need the php.</div>  <div>Thanks,</div>  <div>Bruce</div><BR><BR>++++++++++++++++++++++++++++++++++++++++++++++++++++<br>Bruce Whealton - Webmaster/Designer/publisher/Writer<br>http://trianglewebservices.com/<br>Word Salad Poetry Magazine - join us online at:<br>http://wordsalad.net/<br>Street Exposure - Street Newspaper<br>http://wordsalad.net/StreetExposure/<br>++++++++++++++++++++++++++++++++++++++++++++++++++++<p>
                <hr size=1> Yahoo! Mail<br> 
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=38867/*http://photomail.mail.yahoo.com">Use Photomail</a> to share photos without annoying attachments.