D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
ajax
/
Filename :
status_deactive_library_course.php
back
Copy
<?php error_reporting(0); include("../include/config.php"); $ids=trim($_POST['id']); $query="UPDATE `library` SET `status` = 'deactive' WHERE `library`.`id` = '$ids'"; if (mysqli_query($conn, $query)) { // header("location:library-course.php"); $msg['status']="true"; $msg['msg']="updated successfully."; echo json_encode($msg); } else { $msg['status']="false"; $msg['msg']="updated not successfully."; echo json_encode($msg); } mysqli_close($conn); ?>