Files
Testing/js/act/trash_wall_post.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

20 lines
424 B
PHP

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