function TodaytotalSell(){
global $conn;
$sql = "SELECT SUM(`sell_amount`) as 'TodaytotalSell' FROM `add_sell` WHERE sell_amount = `sell_amount` ORDER BY 'sell_date' LIMIT 1";
$result = $conn->query($sql);
if(mysqli_num_rows($result) > 0){
while($fetch = mysqli_fetch_array($result)){
echo "SR ".$fetch['TodaytotalSell'];
}
}
}