I'm pretty new to PHP and i'm not sure how to access a variable passed through the browser(ie: visible through the URL).
Here's the page that has the link (the referrer).
<a href=\"buddyadded.php?CUserName=$row>CUserName\">Add $row->CUserName to my buddy list</a>
The page that should access the variable that was passed (the referree).
I tried to print the variable passed by going:
print "$row->CUserName"
AND I tried
print "$CUserName"
However, instead of accessing the variable passed, it accesses the CUserName that was saved as a session.
How do I get to this variable?
Thanks,
Mike