i'm building a site that at one point outputs search results and includes the username. if the username is selected it goes to that person's profile as well as pulls up all the entries for that user.
my friend told me for the link, i need to user $_GET for this but i don't understand what i do w/ thsi information.
<?php
...
print ("
...
...
</div><!--// end #columnFour //-->
<div class=\"resultsfooter\">
<p><a href=\"viewprofile.php?id=$user_name\">$user_name</a>
...blah blah");
so, how do i get that id on viewprofile.php?