Commit 911e8ec0 by Roy Junedi Simamora

Penambahan tambah_proses untuk menambah menu

parent 28c006cc
<?php
include 'koneksi.php';
$nama = $_POST['nama'];
$kategori = $_POST['kategori'];
$harga = $_POST['harga'];
$image = $_FILES['gambar']['name'];
move_uploaded_file($_FILES['gambar']['tmp_name'], 'picture/' .$image);
mysql_query("insert into menu values('', '$nama' ,'$harga', '$image', '$kategori')");
header('Location: Admin_menu.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