discourse-legacysite-perl/site/racecalendar/delete_X.php

13 lines
268 B
PHP
Raw Normal View History

2024-06-17 12:42:14 +00:00
<?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/');
?>