Files
BW/js/act/del_bateblog_links.php
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

22 lines
418 B
PHP

<?php header('Content-type: application/json');
if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/cmeter/');
include(PATHTOINCLUDES."base.php");
$em="";
$theid=$_GET["theid"];
$sql="DELETE FROM bate_blogs_links WHERE id = ".$theid;
$result=$database->database_query($sql) or $em=$em.$database->database_error();
$arr = array ('error'=>$em);
echo json_encode($arr);
?>