Competitions

The North Midlands County secretary runs 10 separate competitions each year, including events for club teams, individuals, pairs and junior events.

The Junior County secretary runs an additional 15 competitions for under 18s. These are mainly closed to North Midlands bowlers, but some are Open to juniors from other counties.

Our leagues also run their own competitions – details are listed below and in the submenu where they are available.

[insert_php]
function getCompetitions($organiser)
{
echo “

$organiser

“;

try {
$connection = new PDO(getConnString(), getUser(), getpw());
$sql = “SELECT name, type, gender, notes FROM competitions WHERE organiser = ‘$organiser'”;
echo “

    “;
    foreach ($connection->query($sql) as $row)
    {
    echo “

  • “;
    $name = $row[‘name’];
    $output = $output = “$name“;
    $output .=” (“.$row[‘type’].”, open to “.$row[‘gender’];
    $notes = $row[‘notes’];
    if(!empty($notes) && isset($notes) && !is_null($notes))
    {
    $output .= “, $notes”;
    }
    $output .= “)
  • “;
    echo $output;
    }
    echo “

“;
$connection = null;
}
catch(PDOException $e) { echo $e; }
}
getCompetitions(“North Midlands”);
getCompetitions(“Coventry & District”);
getCompetitions(“Junior County”);
[/insert_php]