<分区>
function DisplayPoints()
{
mysql_select_db('$database');
$qry = "Select points from $this->tablename where username='$username' and password='$pwd' and confirmcode='y'";
$rows = mysql_fetch_array($qry);
$points = $rows['points'];
echo " $points";
}
我的想法是在网站上制作一种积分系统。当用户登录到页面时,您可以在主页面标题中看到您有多少积分。