Location: PHPKode > projects > HypatiaDB > hypatiadb/xhr/killReportCondition.php
<?php
include('../common_db.php');
include('../functions.php');
dbconnect($host, $username, $password);
$strings = loadStrings($lang,'GETDATA');


header("Content-Type: application/xml");

echo('<');?>?xml version="1.0" encoding="UTF-8"?><root><?php
mysql_select_db('HypatiaDB');

$kill_id = intval($_REQUEST['id']);

$query = "DELETE FROM report_conditions WHERE id = '$kill_id'";

mysql_query($query) or die(mysql_error());	//L10n, display to user

?></root>
Return current item: HypatiaDB