prepare("SELECT * FROM learners WHERE student_id = ?"); $stmt->execute([$search_id]); $learner = $stmt->fetch(); if ($learner) { // Fetch Attendance History (Last 30 days) $stmt = $db->prepare("SELECT * FROM attendance WHERE learner_id = ? ORDER BY date DESC LIMIT 30"); $stmt->execute([$learner['id']]); $attendance_history = $stmt->fetchAll(); } } include 'includes/header.php'; ?>

Parent Engagement Portal

Stay updated on your child's progress with minimal data usage.

Find My Child
No learner found with ID . Please contact the school office.
Learner Profile:

Grade

Attendance

0 ? round(($present / $total) * 100) : 0; ?>
%

Status

Enrolled
Recent Attendance
Date Status
No attendance records found for the last 30 days.
Present Absent

Please enter a Student ID to view details.