<?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');
?>