prepare("SELECT r.room_number, r.details FROM Allocations a JOIN Rooms r ON a.room_id = r.id WHERE a.student_id = ?"); $stmt->execute([$_SESSION['id']]); $allocation = $stmt->fetch(); ?>

Student Dashboard

Welcome, !

My Room Allocation
You are allocated to Room:

Details:

You have not been allocated a room yet.

Room Request