discourse-legacysite-perl/site/racecalendar/delete_X.php
2024-06-17 22:42:14 +10:00

13 lines
268 B
PHP

<?PHP
if (!$_POST){ header('Location: https://slowtwitch.com/calendar/'); }
include("config.php");
$sql = "DELETE FROM gforum_Triathlons WHERE uid = '$_POST[uid]'";
mysql_query($sql) or die(mysql_error());
header('Location: https://slowtwitch.com/calendar/');
?>