Skip to content

Commit

Permalink
Migrasi jadwal.php ke Mysqli
Browse files Browse the repository at this point in the history
  • Loading branch information
yonathan12 committed Aug 28, 2018
1 parent 8b629de commit 647d6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jadwal.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
<tbody>
<?php
include 'koneksi.php';
$data = mysql_query("SELECT * FROM jadwal")or die(mysql_error());
$data = mysqli_query($koneksi,"SELECT * FROM jadwal")or die(mysql_error());
$no = 1;
while($hasil = mysql_fetch_array($data)){
while($hasil = mysqli_fetch_array($data)){
?>
<tr>
<td><?php echo $no++; ?></td>
Expand Down

0 comments on commit 647d6cd

Please sign in to comment.