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
93e2691c
Commit
93e2691c
authored
May 25, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pencarian
parent
65fad6bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
admin_menu.php
admin_menu.php
+1
-1
cari.php
cari.php
+5
-0
No files found.
admin_menu.php
View file @
93e2691c
...
@@ -46,7 +46,7 @@ $start = ($page - 1) * $per_hal;
...
@@ -46,7 +46,7 @@ $start = ($page - 1) * $per_hal;
<?php
<?php
if
(
isset
(
$_GET
[
'cari'
]))
{
if
(
isset
(
$_GET
[
'cari'
]))
{
$cari
=
mysqli_real_escape_string
(
$GLOBALS
[
"___mysqli_ston"
],
$_GET
[
'cari'
]);
$cari
=
mysqli_real_escape_string
(
$GLOBALS
[
"___mysqli_ston"
],
$_GET
[
'cari'
]);
$menu
=
mysqli_query
(
$GLOBALS
[
"___mysqli_ston"
],
"select * from menu where nama like '
$cari
' or kategori_id like '
$cari
'"
);
$menu
=
mysqli_query
(
$GLOBALS
[
"___mysqli_ston"
],
"select * from menu where nama like '
$cari
*
'"
);
}
else
{
}
else
{
$menu
=
mysqli_query
(
$GLOBALS
[
"___mysqli_ston"
],
"select * from menu limit
$start
,
$per_hal
"
);
$menu
=
mysqli_query
(
$GLOBALS
[
"___mysqli_ston"
],
"select * from menu limit
$start
,
$per_hal
"
);
}
}
...
...
cari.php
0 → 100644
View file @
93e2691c
<?php
$cari
=
$_GET
[
'cari'
];
header
(
"location:admin_menu.php?cari=
$cari
"
);
?>
\ No newline at end of file
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