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";
}
我的想法是在网站上建立一种积分系统。当用户登录页面然后在主页标题中,您可以看到您有多少积分。