Commit a0a6632c by josua

no message

parent 8eb9097e
<?php
session_start();
include_once('config/koneksi.php');
// retrieve posted form data
$id = $_POST['id'];
$nama = $_POST['nama'];
$desc = $_POST['desc'];
$image = $_POST['image'];
$database = new mysqli('localhost', 'root', '', 'tb silalahi');
$delete = "DELETE FROM koleksi WHERE id='$id'";
$id = $_GET['id'];
$statement = $database->prepare($delete);
$statement->bind_param('iissdss', $id, $author_id, $publisher_id, $isbn, $title, $price, $year, $description);
$statement->execute();
redirect('koleksi.php');
?>
\ No newline at end of file
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