edit

parent 5acb1fe6
<?php
include_once('fungsi.php');
$id = $_POST['id'];
$nama_lengkap = $_POST['nama'];
......@@ -20,7 +21,7 @@
echo"<script language='javascript'>alert('Jumlah Peserta Melebihi Kapasitas')</script>";
echo "<script>window.location = 'memesan.php'</script>";
}else{
$memesan = mysqli_query("insert into pemesanan(id,namalengkap, alamat, email, jumlahpeserta, waktumulai, waktuselesai, namaruangan, gambar) values('$id', '$nama_lengkap', '$alamat', '$email', '$jumlahpeserta', '$waktu_mulai', '$waktu_selesai', '$namaruangan', '$gambar')");
$memesan = mysqli_query($conn, "insert into pemesanan(id,namalengkap, alamat, email, jumlahpeserta, waktumulai, waktuselesai, namaruangan, gambar) values('$id', '$nama_lengkap', '$alamat', '$email', '$jumlahpeserta', '$waktu_mulai', '$waktu_selesai', '$namaruangan', '$gambar')");
header('Location: index.php');
}
......
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