Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (16 sloc) 0.434 kb
<?
require("ampcaldb.php");
$txtIds = "";
for($i = 0; $i < sizeof($delList); $i++)
{
$txtIds .= $delList[$i];
if($i < (sizeof($delList) - 1))
$txtIds .= ", ";
}
$sql = "DELETE FROM ac_calendar WHERE cal_entry_id in (" . $txtIds . ")";
$link = db_connect();
$result = mysql_query($sql) or die("Could not delete entry.<br>");
mysql_close($link);
header("Location: ampcal.php?nMth=" . $month . "&nYr=" . $year);
exit;
?>
Jump to Line
Something went wrong with that request. Please try again.