Commit df1c58aa by Roy Junedi Simamora

progress

parent 625aea26
......@@ -5,13 +5,15 @@
<h3><span class="glyphicon glyphicon-edit"></span> Edit Menu</h3>
<a class="btn" href="list_menu.php"><span class="glyphicon glyphicon-chevron-left"></span> Kembali</a>
<form action="edit_proses.php" method="post" enctype="multipart/form-data">
<table class="table">
<?php
$id = mysqli_real_escape_string($GLOBALS["___mysqli_ston"], $_GET['id']);
$det = mysqli_query($GLOBALS["___mysqli_ston"], "select * from menu where id_menu ='$id'")or die(mysqli_error($GLOBALS["___mysqli_ston"]));
while($d=mysqli_fetch_array($det)){
?>
<form action="edit_proses.php" method="post" enctype="multipart/form-data">
<table class="table">
<tr>
<td></td>
<td><input type="hidden" name="id" value="<?php echo $d['id_menu'] ?>"></td>
......@@ -41,11 +43,11 @@ while($d=mysqli_fetch_array($det)){
<td></td>
<td><input type="submit" class="btn btn-info" value="Simpan"></td>
</tr>
</table>
</form>
<?php
}
?>
</table>
</form>
<?php
include 'common/footer.php';
......
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