query("SELECT id, name FROM courses ORDER BY name"); $courses = $stmt->fetchAll(); $stmt = $pdo->query("SELECT p.id, p.player_name, t.team_name FROM players p JOIN teams t ON p.team_id = t.id ORDER BY t.team_name, p.player_name"); $players = $stmt->fetchAll(); } catch (PDOException $e) { // If something goes wrong, we'll have empty arrays. // For debugging, you might want to log the error: // error_log($e->getMessage()); } ?> Enter Golf Score

Enter Round Score

Hole Par Score Vs Par Putts Penalties Sand Lie

Round Totals

To Par: E
Score: 0
Putts: 0
Penalties: 0
Sand Lies: 0