This document was uploaded by user and they confirmed that they have the permission to share
it. If you are author or own the copyright of this book, please report to us by using this DMCA
report form. Report DMCA
Overview
Download & View Jawaban Essay Pak Mara.docx as PDF for free.
Edit.php <meta charset="UTF-8"> edit data mahasiswa
edit data
query("SELECT * FROM kelas"); ?> fetch_assoc(); ?> query("UPDATE kelas SET nama='$_POST[nama]',kelas='$_POST[kelas]', npm='$_POST[npm]' WHERE no='$_GET[id]'"); echo"<script>location='view.php';"; } ?>
Delete.php query("DELETE FROM kelas WHERE no='$_GET[id]'"); echo "<script>location='view.php';"; ?> Tambah.php <meta charset="UTF-8"> input data
input data
query("INSERT INTO kelas (nama,kelas,npm) VALUES ('$_POST[nama]','$_POST[kelas]','$_POST[npm]')"); echo "<meta http-equiv='refresh' content='1;url=view.php'>"; } ?>