Hi al, :)I am new here and i am having such a pain in my head here trying to get info from one of my tables.I have a connection to it allready because i pull the members name and so on but when i try to pull the users current points it comes up blank?i created a table called users, and name,lname,age,gender,points,scrorei can pull info from all tables but points?it has a default valuse of 5 points, and i want it to display the total points the have after they login..Heres what i have maybe i messed up please look i need help :P<?phpif (logincheck($uid, $upwd)) { $accounttitle = "Welcome $uname"; $sql = "select points from users where userid = $uid"; $result = mysql_query($sql ,$db); $mycount = mysql_num_rows($result); if ($mycount == 1) { $accountstat .= "You Have $points Points"; } else { $accountstat .= "<font size=2 face='Arial, Helvetica, sans-serif'>Please login to view your stats</font>"; }?><?php printf($accountstat); ?>