Commit dd8d5e0f by Mei Romauli Sagala

edit

parent 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*'"); $menu = mysqli_query($GLOBALS["___mysqli_ston"], "select * from menu where nama like 'A*'");
} 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");
} }
......
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