Thanks for the reply, but I think there is a syntax problem with the code. I just get this (I inserted it into index_body.tpl):
"; ?>
If you can respond again, that would be great. Actually, if you take the time to respond again, this is what I want to modify, slightly different than what I originally posted:
<tr><td><a href="sitename.com/click?">click here</a></td></tr>
into looking like this:
<tr><td><a href="sitename.com/click?UID=username">click here</a></td></tr>
when the user is logged in.
Also, can this php code be inserted into any .tpl page?
Thanks again!