Next you are getting the parse error because you do not have a closing bracket after the while loop.
also I don’t know if you noticed but there is a slash in between these lines:
Wait a second I just started taking a better look at this and I am scratching my head. what exactly are you trying to do here?
You are running a while loop, but not echoing anything out before the closing bracket.
I look at the form and it look as though it is most likely only suppose to echo out a single persons information correct?
If this is so then you should not be using a while loop.
Now if you are trying to pull multiple peoples information onto the page then you need include something that will echo like so:
[php]
$id = mysql_real_escape_string($_GET[‘id’]);
echo"
";
$sql="SELECT * FROM players WHERE id = ‘$id’ ";
$res=mysql_query($sql) or die(mysql_error());
while($r=mysql_fetch_assoc($res))
{
I am assuming that the GET variable is always going to be numeric so this is how I would do it.
I hope this explained a few things for you and assisted in your script.