Forum Moderators: coopster
Does anyone know what I should name this page to where it will function as everyone's profile page?(Can it be just "profiles.php"? Or do I need something more in the name to do that?
Thanks again for the help guys
if(![url=http://us2.php.net/manual/en/function.isset.php]isset[/url]($_GET['user'])) {
echo 'Please specify a username';
[url=http://us2.php.net/manual/en/function.exit.php]exit[/url]();
}
$user = $_GET['user']
//connect to db server, select db
$query = "SELECT * FROM profiles WHERE username = '".[url=http://us2.php.net/manual/en/function.mysql-real-escape-string.php]mysql_real_escape_string[/url]($user)."'";
//etc...
This is, of course, assuming that you are using a database to store the user profiles.
Good luck!
I will try the code you gave me, thank you very, very, very much. Looks like what I want, now to see if I can code it right.