Menu Add Clone Format

= 0) { mysqli_query($khoi->connect_db(), "INSERT INTO `clone_format` (`name`, `cname`, `rate`, `mota`, `time`) VALUES ('".$_POST['name']."', '".$_POST['cname']."', '".$_POST['rate']."', '".$_POST['mota']."', '".time()."')"); echo ''; } else { echo ''; } }else { echo ''; } }else { echo ''; } } ?>
Tên
Tên Cname
Giá
Mô Tả

Danh Sách Định Dạng Clone

connect_db(), "UPDATE `clone_format` SET `name` = '".$_POST['new_name']."',`rate` = '".$_POST['rate']."', `mota` = '".$_POST['mota']."' WHERE `id` = '".$_POST['id']."'"); echo ''; } } if(isset($_POST['edit'])) { if(isset($_POST['id'])) { $sql = "SELECT * FROM `clone_format` WHERE `id`='".$_POST['id']."' "; $edit_query = mysqli_query($khoi->connect_db(), $sql); $row_edit = mysqli_fetch_assoc($edit_query); ?>
Tên
Giá
Mô Tả

connect_db(), "DELETE FROM `clone_format` WHERE `id`='".$_POST['id']."' "); echo ''; } } ?> connect_db(), "SELECT * FROM `clone_format` ORDER BY `id` DESC"); while($row = mysqli_fetch_array($res)) { $result = mysqli_query($khoi->connect_db(), "SELECT `id` FROM `clone` WHERE `type`='".$row['cname']."'"); $rowcount = mysqli_num_rows($result); ?>
#id Tên Rate Thời Gian
# () đ