开发者

mysql - fetching arrow and setting variable to certain row

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 FROMusernameWHEREpassword= '$pword' ANDusername= '$uname' and check $pword and $nname values passing values or not

$points = $rows['points']; 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜