you may want to check out a thread where i pose the same basic question (or at least half of it):
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10218864
you need to set the variable to a query string in the page title. ex:
www.yoursite.com.yourpage.php?userid=1
how to do this?
i've done it by setting the links to that page up this way :
printf(<a href=\"user_info.php?userid=%s\">%s</a>,
$row[1]);
this sends the browser to the user_info.php page and gives it a query string of ?userid=x
(where x is the variable held in $row[1]
as for the getting it out, you need to use something like
userid= $_GET[userid]
to set that variable/value again.
heh. this is the first time i've answered a question on this site, so everyone should feel free to correct my massive mistakes.
hope this works for ya
-pel