Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RestoranPondokEdo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mei Romauli Sagala
RestoranPondokEdo
Commits
df1c58aa
Commit
df1c58aa
authored
7 years ago
by
Roy Junedi Simamora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
progress
parent
625aea26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
edit.php
edit.php
+7
-5
No files found.
edit.php
View file @
df1c58aa
...
@@ -5,13 +5,15 @@
...
@@ -5,13 +5,15 @@
<h3><span
class=
"glyphicon glyphicon-edit"
></span>
Edit Menu
</h3>
<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>
<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
<?php
$id
=
mysqli_real_escape_string
(
$GLOBALS
[
"___mysqli_ston"
],
$_GET
[
'id'
]);
$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"
]));
$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
)){
while
(
$d
=
mysqli_fetch_array
(
$det
)){
?>
?>
<form
action=
"edit_proses.php"
method=
"post"
enctype=
"multipart/form-data"
>
<table
class=
"table"
>
<tr>
<tr>
<td></td>
<td></td>
<td><input
type=
"hidden"
name=
"id"
value=
"
<?php
echo
$d
[
'id_menu'
]
?>
"
></td>
<td><input
type=
"hidden"
name=
"id"
value=
"
<?php
echo
$d
[
'id_menu'
]
?>
"
></td>
...
@@ -41,11 +43,11 @@ while($d=mysqli_fetch_array($det)){
...
@@ -41,11 +43,11 @@ while($d=mysqli_fetch_array($det)){
<td></td>
<td></td>
<td><input
type=
"submit"
class=
"btn btn-info"
value=
"Simpan"
></td>
<td><input
type=
"submit"
class=
"btn btn-info"
value=
"Simpan"
></td>
</tr>
</tr>
</table>
</form>
<?php
<?php
}
}
?>
?>
</table>
</form>
<?php
<?php
include
'common/footer.php'
;
include
'common/footer.php'
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment