Home › Forums › Back End › Nice Profile URL? › Re: Nice Profile URL?
February 1, 2012 at 5:27 pm
#95951
Member
you can have the php run the queries from either id or username anyway
so “site/profile/username” becomes rewritten to site/profile.php?u=username”
and the php then does
$username=mysql_real_escape_string($_GET);
“SELECT * from users where username=$username”