$connn=mysql_connect ($hostnamee,$usere,$passworde) or die("Cannot connect to database");
$dbselect=mysql_select_db($dbnamee,$connn);
$sqll="SELECT name FROM char ORDER BY name DESC";
$resultt=mysql_query($sqll);
$roww=mysql_fetch_array($resultt);
$Sumbudgett=$roww['name'];
echo "$Sumbudgett";
?>
$connn=mysql_connect ($hostnamee,$usere,$passworde) or die("Cannot connect to database");
$dbselect=mysql_select_db($dbnamee,$connn);
$sqll="SELECT name FROM `char` ORDER BY name DESC";
$resultt=mysql_query($sqll);
$roww=mysql_fetch_array($resultt);
$Sumbudgett=$roww['name'];
echo "$Sumbudgett";
?>
$conn=mysql_connect ($hostname,$user,$password) or die("Cannot connect to database");
$dbselect=mysql_select_db($dbname,$conn);
$sql="SELECT SUM(niranam) AS sum_digg_total FROM `char`";
$result=mysql_query($sql);
$row=mysql_fetch_array($result);