Files
Testing/js/act/del_bateblog_links.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -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);
?>