$servername = "localhost";
$username = "root";
$password = "root";
$dbname = "missionaries";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error) {
die("Connection Failed: " . $conn->connect_error);
}
$message = ""; // Initialize an empty message variable
// Handle form submission
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$location = $_POST["location"];
$date = $_POST["date"];
$number = $_POST["number"];
$phone = $_POST["phone"];
$email = $_POST["email"];
$name = $_POST["name"];
// Prepare and execute the database insertion
$sql = "INSERT INTO `tbl_booking` (`location`, `date`, `number`, `phone`, `email`,`name`) VALUES ('$location', '$date', '$number', '$phone', '$email','$name')";
if ($conn->query($sql) === TRUE) {
$message = "Booking Successfully";
} else {
$message = "Error: " . $sql . "
" . $conn->error;
}
}
?>
blogs & posts
we untold stories
Untold Encounters
Share the untold stories of unforgettable wildlife encounters and awe-inspiring moments experienced during safari adventures in Rwanda's national parks.
Untold Experiences
Share the untold experiences of travelers who have embarked on unique adventures, from camping beneath the stars on the shores of Muhazi Lake to summiting volcanic peaks in the Virunga Mountains.
Untold Conversations
Spark untold conversations about the importance of sustainable tourism, community engagement, and conservation efforts in Rwanda, amplifying the voices of those working to create positive change.
Untold Moments
Capture the untold moments of serenity, wonder, and connection experienced by travelers as they immerse themselves in Rwanda's natural beauty, whether gazing at a fiery sunset over Lake Kivu or trekking through mist-shrouded rainforests.
Untold Tastes
Indulge in the untold tastes of Rwandan cuisine, from traditional dishes served at local eateries to farm-to-table dining experiences that celebrate the country's rich culinary heritage.
Untold Perspectives
Dive into the untold perspectives of local guides, conservationists, and community members who work tirelessly to protect Rwanda's natural heritage and share their unique insights with visitors.