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

12 lines
469 B
PHP

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