芝麻web文件管理V1.00
编辑当前文件:/home/krishnamexports/public_html/panel/pages/product/polish.php
0) { echo '
Danger!
Polish already exists.
'; } else { $sqlSubject = mysqli_query ($cn, "insert into `tbl_polish` set `name`='$name', sort_order='$sort_order'"); if ($sqlSubject){ echo '
Success!
Polish Added Successfully.
'; } else { echo '
Danger!
Polish Not Added. Try Again.
'; } } } if(isset($_POST['edit'])) { $id = $_POST['id']; $name = $_POST['name']; $sort_order = $_POST['sort_order']; $sqlSubject = mysqli_query ($cn,"update `tbl_polish` SET `name`='$name', `sort_order`='$sort_order' where `id`='$id'"); if($sqlSubject) { echo '
Success!
Polish Update Successfully.
'; } else { echo '
Warning!
Polish Updated try again.
'; } } if(isset($_GET['edit_id'])) { $id = $_GET['edit_id']; $sql = mysqli_query($cn, "select * from `tbl_polish` where id='$id'"); $sqlData = mysqli_fetch_array ($sql); } ?>
Polish
Name
Sort Order
">Submit
Polish List
S.No.
Name
Sort Order
Action
Edit