perbaikan

parent 5fd8b648
<?php
require_once("koneksi.php");
include 'header.php';
global $sql;
$per_hal = 6;
$jumlah_record = mysqli_query($koneksi, "SELECT * FROM t_artikel");
......@@ -11,6 +10,7 @@
$page = (isset($_GET['page'])) ? (int)$_GET['page'] : 1;
$start = ($page - 1) * $per_hal;
global $sql;
$sql = mysqli_query($koneksi, "SELECT * FROM t_artikel ORDER BY tanggal_dibuat DESC limit 8");
?>
<!-- breadcrumbs -->
......
......@@ -66,7 +66,7 @@
<a href="function.php?act=plus&amp;barang_id=<?php echo $key; ?>&amp;ref=singlebook.php">
<img src="images/plus.png" />
</a>
<a href="function.php?act=del&amp;barang_id=<?php echo $key; ?>&amp;ref=singlebook.php">
<a onclick="if(confirm('Apakah Anda yakin ingin menghapus data ini ?')){ location.href='function.php?act=del&amp;barang_id=<?php echo $key; ?>&amp;ref=singlebook.php' }">
<img src="images/close_1.png" />
</a>
</div>
......
<?php
require_once("koneksi.php");
include 'header.php';
global $sql;
$id= $_GET['kd'];
$sql = mysqli_query($koneksi, "SELECT * FROM t_buku WHERE penerbit='$id' ORDER BY isbn");
?>
......
Markdown is supported
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