prepare( "SELECT o.id, o.created_at, o.total_price, o.status, r.name as restaurant_name FROM orders o JOIN restaurants r ON o.restaurant_id = r.id WHERE o.user_id = ? ORDER BY o.created_at DESC" ); $stmt->execute([$_SESSION['user_id']]); $orders = $stmt->fetchAll(PDO::FETCH_ASSOC); ?> My Account - MajuroEats

Your Order History

0): ?>
Order ID Date Restaurant Total Status
# $

You have not placed any orders yet. Start your first order!