Hi,
Looks to me that this should work:
$queryusername=mysql_query( "select points from outwarinfo where outwarusername=$userid" ) or die ("Sorry could not select user");
You use the "" for textvalues. But you have a variable, so you don't need them. You use the \" only if you try to get a "in a variable, and you want PhP to read the double quotes, instead of ïnterpreting"them.
J.
PS:
You could just use directly:
$row[outwarusername],
you don't need to create var's first.
PPS: You don't need quotes in $row["outwarusername"];.
J.