$dbh->do('DELETE FROM bigscreen.active_tournament');
if ($tournament != -1) {
$dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament);
$dbh->do('DELETE FROM bigscreen.active_tournament');
if ($tournament != -1) {
$dbh->do('INSERT INTO bigscreen.active_tournament VALUES (?)', undef, $tournament);