Commit e58c96d1 by Roy Junedi Simamora

Perbaikan fungsi edit

parent 5f1b90a2
......@@ -10,5 +10,5 @@
move_uploaded_file($_FILES['gambar']['tmp_name'], 'picture/'. $gambar);
mysql_query("update menu set nama = '$nama', harga = '$harga', gambar = '$gambar', kategori_id = '$kategori' where id_menu='$id'");
header('Location: list_menu.php');
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