if (isset($_POST['submitMatch'])){
$matchHome = $_POST['hometeam'];
$matchAway = $_POST['awayteam'];
$matchNetwork = $_POST['network'];
$matchCompetition = $_POST['competition'];
$matchTime = $_POST['datetime'];
$matchLive = $_POST['matchLive'];
$dbR = $db->query("INSERT INTO matches (homeTeamID, awayTeamID, startTime, networkID, compID, matchLive, approveFlag, userid) VALUES ('$matchHome', '$matchAway', '$matchTime', '$matchNetwork', '$matchCompetition', '$matchLive', 0, '$user->user_id')");
echo 'Match ' . $matchHome . ' vs '. $matchAway . ' submitted successfully - THANK YOU!';
}
?>
Add a Match
Running this site is a huge effort and now you can help contribute! Do you know of a match not listed on our site that is showing on TV? Add it using the below form!
if ($user->sessionStatus() && $user->user_accessLevel > 0){ include('matchform.php'); }else{ echo "In order to submit matches to the site please register and login to the site
";
}
?>