// Inside requests_view.php
$my_id = $_SESSION['user_id'];
$stmt = $pdo->prepare("SELECT * FROM support_tickets WHERE user_id = ? ORDER BY created_at DESC");
$stmt->execute([$my_id]);
$tickets = $stmt->fetchAll();