Source code:

<?php 
$sqlc = "select `notif` from `tb_notif` where status='Proses'";
$jum = getJum($conn, $sqlc);
$adanotif=""; 
if($jum>0){
       $adanotif="<sup><font color='yellow'>$jum</font></sup>";
}

Link Menu:
<a href="?mnu=notif"> <span>Surat</span> ( <?php echo $adanotif;?> ) </a>