$connn=mysql_connect ($hostnamee,$usere,$passworde) or die("Cannot connect to database");
$dbselect=mysql_select_db($dbnamee,$connn);
$sqll="SELECT LAST(userid) As name FROM login";
$resultt=mysql_query($sqll);
$roww=mysql_fetch_array($resultt);
$Sumbudgett=$roww['userid'];
echo "$Sumbudgett";
?>
แต่ก็ยังเออเล่อครับ