i can't figure out why $points comes back without a value
$query = mysql_query("SELECT * FROM `username开发者_开发百科` WHERE `password` = '$pword' AND `username` = '$uname'");
$rows = mysql_fetch_array($query);
$points = $rows[points];
try to use SELECT points FROM
usernameWHERE
password= '$pword' AND
username= '$uname'
and check $pword and $nname values passing values or not
$points = $rows['points'];
精彩评论