Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Nice Profile URL? Re: Nice Profile URL?

#95951
bungle
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”