Jawaban Essay Pak Mara.docx

  • Uploaded by: Dian Agustina
  • 0
  • 0
  • December 2019
  • PDF

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.

More details

  • Words: 268
  • Pages: 4
Koneksi.php View.php <meta charset="UTF-8"> data mahasiswa

Data Mahasiswa

query("SELECT * FROM kelas"); ?> fetch_assoc()) { ?>
no nama npm kelas aksi aksi
">edit ">delete



Edit.php <meta charset="UTF-8"> edit data mahasiswa

edit data

query("SELECT * FROM kelas"); ?> fetch_assoc(); ?>
Nama :
kelas :
npm :
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

nama
kelas
npm

query("INSERT INTO kelas (nama,kelas,npm) VALUES ('$_POST[nama]','$_POST[kelas]','$_POST[npm]')"); echo "<meta http-equiv='refresh' content='1;url=view.php'>"; } ?>

Output

Related Documents


More Documents from "Yessa Yunisah"