$0 Delivery Fee
On your first order
Earn Rewards
With every meal
Support Local
Majuro Restaurants
Featured Restaurants
query("SELECT r.id, r.name, r.image_url, AVG(rt.rating) as average_rating
FROM restaurants r
LEFT JOIN ratings rt ON r.id = rt.restaurant_id
GROUP BY r.id
ORDER BY average_rating DESC, r.id DESC
LIMIT 6");
$restaurants = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach ($restaurants as $restaurant) {
// Get cuisines for this restaurant
$cuisine_sql = "SELECT c.name FROM cuisines c JOIN restaurant_cuisines rc ON c.id = rc.cuisine_id WHERE rc.restaurant_id = ?";
$cuisine_stmt = db()->prepare($cuisine_sql);
$cuisine_stmt->execute([$restaurant['id']]);
$restaurant_cuisines_list = $cuisine_stmt->fetchAll(PDO::FETCH_COLUMN);
echo '';
echo '';
echo '
';
echo '
';
echo '';
}
?>
' . htmlspecialchars($restaurant['name']) . '
'; echo ''; echo '';
if ($restaurant['average_rating']) {
echo '';
} else {
echo '';
}
echo '
';
echo '25-35 min
';
echo '