HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-31-18-78 6.17.0-1017-aws #17~24.04.1-Ubuntu SMP Tue May 26 21:09:53 UTC 2026 aarch64
User: ubuntu (1000)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /var/www/nclive/technc/delete_seo_content.php
<?php
	include 'config.php';
	$del = $_REQUEST['id'];
	$array = array();
	if($del != ""){
		$query = "DELETE FROM sp_pages_seo WHERE id='$del'";
		$sql=$db->prepare($query);
		if($sql->execute()){
			$array = array('status'=>1, 'msg'=>"Seo Content is Successfully Deleted. ");
		} else {
			$array = array('status'=>0, 'msg'=>"Seo Content is not Deleted.");
		}
	} else {
		$array = array('status'=>0, 'msg'=>"Delete ID is not Existed");
	}
	echo json_encode($array);
?>