| NOMOR ANTRIAN ANDA : |
echo "".$Sno."";
?> |
| A. Customer Service : |
$date=new datetime();
$idn=$date->format('dmy');
$sql="SELECT * FROM tbmaster where idn='".$idn."' and flag=1 and layanan='A' order by id asc";
if($result=mysqli_query($con,$sql)){
$jumlah=mysqli_num_rows($result);
echo "".$jumlah." ANTRIAN'";
}
?> |
| B. HC KARANTINA : |
$date=new datetime();
$idn=$date->format('dmy');
$sql="SELECT * FROM tbmaster where idn='".$idn."' and flag=1 and layanan='B' order by id asc";
if($result=mysqli_query($con,$sql)){
$jumlah=mysqli_num_rows($result);
echo "".$jumlah." ANTRIAN'";
}
?> |
| C. HC MUTU : |
$date=new datetime();
$idn=$date->format('dmy');
$sql="SELECT * FROM tbmaster where idn='".$idn."' and flag=1 and layanan='C' order by id asc";
if($result=mysqli_query($con,$sql)){
$jumlah=mysqli_num_rows($result);
echo "".$jumlah." ANTRIAN'";
}
?> |
| D. PNBP : |
$date=new datetime();
$idn=$date->format('dmy');
$sql="SELECT * FROM tbmaster where idn='".$idn."' and flag=1 and layanan='D' order by id asc";
if($result=mysqli_query($con,$sql)){
$jumlah=mysqli_num_rows($result);
echo "".$jumlah." ANTRIAN'";
}
?> |