query($sql); if ($insertPageContent) { if (move_uploaded_file($image1_tmp, $image1_target_file) && move_uploaded_file($image2_tmp, $image2_target_file) && move_uploaded_file($image3_tmp, $image3_target_file)) { chmod($image1_target_file, 0777); chmod($image2_target_file, 0777); chmod($image3_target_file, 0777); showSweetAlert('success', 'Data Saved'); } else { @unlink($image1_target_file); @unlink($image2_target_file); @unlink($image3_target_file); $deleteLastRecord = $connection->query("DELETE FROM `page` WHERE `id` = $connection->insert_id"); showSweetAlert('error', 'Unable to upload images'); } } else { echo $sql; //showSweetAlert('error', sanitizeData($sql)); } } } ?>
| Service Name | Created At | Status |
|---|---|---|
| sub_category_name ?> | created_at ?> | status == 1 ? ' Active' : 'Inactive' ?> |