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