<?php
$conn = new mysqli('127.0.0.1', 'koojanasanura_mydb', 'Koojana@123', 'koojanasanura_Methsisila');
$res = $conn->query("SELECT * FROM packages LIMIT 5");
while($r = $res->fetch_assoc()) {
    echo "ID: " . $r['id'] . "\n";
    echo "Title: " . $r['title'] . "\n";
    echo "Tour Name: " . $r['tour_name'] . "\n";
    echo "Landmarks: " . $r['landmarks'] . "\n";
    echo "Includes: " . $r['includes'] . "\n";
    echo "-------------------\n";
}
?>
