‘S’)”;
if ($result=mysqli_query($con,$hasil4))
{
$rowcount=mysqli_num_rows($result);
if ($rowcount <> 0)
{ $i=$i+1;
print(“$i. Angkatan $j = $rowcount orang
“);
}
}
$hasil = mysqli_query($con,”SELECT * FROM temualumni2018 WHERE angkatan like $angk ORDER BY nama asc”);
$i=0;
while ( $baris = mysqli_fetch_row($hasil) )
{
$i=$i+1;
//$baris[1] = ucwords(strtolower($baris[1]));
print(“$i. $baris[2]
“);
}
}
$hasil4 = “SELECT * FROM temualumni2018 WHERE (keg <>‘S’)”;
if ($result=mysqli_query($con,$hasil4))
{
// Return the number of rows in result set
$rowcount=mysqli_num_rows($result);
printf(“
Total Jumlah Peserta %d orang.\n”,$rowcount);
// Free result set
mysqli_free_result($result);
}
?>