db->prepare("SELECT * FROM learners WHERE school_id = :school_id"); $stmt->execute(['school_id' => $school_id]); return $stmt->fetchAll(); } }