//user number
$result = @mysql_query("SELECT count(*) FROM w3t_Users");
$row = mysql_fetch_array($result);
$unum = $row["count(*)"];
//user name
$result = @mysql_query("SELECT U_Username FROM w3t_Users ORDER BY U_Number DESC");
$row = mysql_fetch_array($result);
$name = $row["U_Username"];
//print results
print "$unum";
echo (' Registered Users. Welcome to our newest member, ');
print "$name";
that is still giving me the wrong user name, it says in the sql that the U_Number field is auto inc... but the unmoded index page shows a totally dif. username for the latest user... what am i doing wrong?