Skip to content
Snippets Groups Projects
Commit 7db1edfb authored by gerrykastogi's avatar gerrykastogi
Browse files
parents 69396e32 791ad738
No related merge requests found
Pipeline #1700 skipped
......@@ -386,9 +386,12 @@
<br>
<?php
error_reporting(0);
$tahun_masukan = "";
if ($_GET["tahun"] != ""){
$tahun_masukan = $_GET["tahun"];
$conn = mysqli_connect("localhost","root","","akte_kelahiran");
// Check connection
if (mysqli_connect_errno())
......@@ -407,13 +410,6 @@
$Stats[] = $row2["jlh_proses"]/$row["jlh_permohonan"];
}
}
}
else{
for($i =0;$i<12;$i++){
$Stats[] = 0;
}
}
echo'
<canvas id="income" width="600" height="400"></canvas>
<script>
......@@ -433,10 +429,17 @@
// draw bar chart
new Chart(income).Bar(barData);
</script>
';
}
';
}
else{
for($i =0;$i<12;$i++){
$Stats[] = 0;
}
echo "Tidak Ada Data Pada Tahun Tersebut";
}
}
else{
echo "Heello";
echo "Belum Ada Data";
}
?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment