Put this in between the <HEAD> and </HEAD> tags of your page:
<b>
<SCRIPT LANGUAGE="Javascript">
function postform() {
document.hiddenform.submit();
}
</SCRIPT>
</b>
Then, somewhere on your page put:
<b>
<FORM NAME="hiddenform" ACTION="showuser.php" METHOD="POST">
<INPUT TYPE="hidden" NAME="user" VALUE="THK">
</FORM>
</b>
Since this form has no submit buttons or anything, it won't be visible on the page.
Then, later in your page you can do like so:
<b>
<A HREf="Javascript: postform();">See Your Stuff!</A>
</b>
None of this is PHP, by the way. Also, this is just a convenient method to make your pages and page transitions look cleaner; it is by no means a secure way of passing data from one page to another! Somebody could always <i>View Source</i> on the page and see all the "hidden" variables you are passing from one page to another.
If you need security, use sessions and store the variables in session vars which only exist on your server and are never sent to the browser.
-- Rich