ok
Direktori : /home2/selectio/public_html/thedentalpark.com/ |
Current File : /home2/selectio/public_html/thedentalpark.com/index.php |
<?php include("header.php"); ?> <style> .wh_change { position: fixed; width: 60px; height: 60px; bottom: 90px; right: 30px; background-color: #25d366; color: #fff; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 100; float: left; padding-top: 7px; } .phone-float { position: fixed; width: 60px; height: 60px; bottom: 90px; left: 30px; background-color: #25d366; color: #fff; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 100; float: left; padding-top: 7px; } </style> <!-- Page Content --> <div class="page-content"> <a href="https://api.whatsapp.com/send?phone=+917540060806&text=Hi, Welcome to The Dental Park" class="wh_change" target="_blank" rel="nofollow"> <i class="fa fa-whatsapp" aria-hidden="true"></i> </a> <a href="tel:+917540060806" class="phone-float" rel="nofollow"> <i class="fa fa-phone" aria-hidden="true"></i> </a> <!-- Video Start --> <section class="video-section-one"> <div class="container"> <div class="row"> <div class="col-md-12 col-lg-4"> <div class="video-one-left-box pbmit-bg-color-globalcolor"> <div class="pbmit-ihbox-style-6"> <div class="pbmit-ihbox-box"> <div class="pbmit-ihbox-headingicon d-flex align-items-center"> <div class="pbmit-ihbox-icon"> <div class="pbmit-ihbox-icon-wrapper"> <i class="pbmit-dentiq-icon pbmit-dentiq-icon-headset"></i> </div> </div> <div class="pbmit-heading"> <div class="pbmit-ihbox-subheading"> <h4 class="vc_custom_heading">Give Us a Call</h4> </div> <div class="pbmit-ihbox-heading"> <h2 style="line-height: 20px;" class="vc_custom_heading"> <span class="hj">Alagapuram Branch:</span> <a class="hj2" href="tel:+91 7540060806" style="color:#fff;">+91 7540060806</a> </h2> <hr style="color: black;"> <h2 style="margin-top: 20px;line-height: 20px;" class="vc_custom_heading"> <span class="hj">S.Kollappatty Branch:</span> <a class="hj2" href="tel:+91 8754970157" style="color:#fff;">+91 8754970157</a> </h2> </div> </div> </div> <div class="pbmit-ihbox-contents clgt"> <div class="pbmit-ihbox-content">Get The Quality Dental Care That You Deserve Immediately </div> <div class="pbmit-ihbox-btn"> <div class="vc_btn3-container vc_btn3-inline"> <!--<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-modern vc_btn3-color-globalcolor" href="#" title=""><span>Contact Us</span></a>--> </div> </div> </div> </div> </div> </div> </div> <div class="col-md-12 col-lg-8 gd"> <div class="video-one-bg"> <div class="row"> <img src="images/homepage-1/img-01-1.jpg" class="img-fluid" alt="" style="height: 315px;"> </div> </div> </div> </div> </div> </section> <!-- Video End --> <!-- About Start --> <section class="about-section-one" id="about"> <div class="container"> <div class="row align-items-center"> <div class="col-md-12 col-lg-6 doc"> <div class="pbmit-heading-subheading"> <h4 class="pbmit-subtitle">Who we are</h4> <h2 class="pbmit-title">The Dental Park</h2> <div class="pbmit-heading-content"> <p> We are committed to providing our patients with compassionate and professional dental care of the highest standards in a comfortable and relaxed environment. We take great satisfaction in helping you maintain optimal oral health. Utilizing the most current dental technologies and techniques we will help you achieve a smile that you can be proud of. </p> </div> </div> <div class="row"> <div class="col-md-6"> <ul class="list-group list-group-borderless"> <li class="list-group-item"> <i class="fa fa-check"></i> Preventive dental care. </li> <li class="list-group-item"> <i class="fa fa-check"></i> Excellent Paediatric dentistry. </li> <li class="list-group-item"> <i class="fa fa-check"></i> Advanced dental prosthetic technology. </li> </ul> </div> <div class="col-md-6"> <ul class="list-group list-group-borderless"> <li class="list-group-item"> <i class="fa fa-check"></i> Excellent cosmetic dentistry. </li> <li class="list-group-item"> <i class="fa fa-check"></i> Superior dental implants. </li> <li class="list-group-item"> <i class="fa fa-check"></i> Advanced Laser dentistry. </li> </ul> </div> </div> <div class="row"> <div class="col-md-6"> <div class="pbmit-ihbox-style-2"> <div class="pbmit-ihbox-box"> <div class="pbmit-ihbox-headingicon d-flex align-items-center"> <div class="pbmit-ihbox-icon"> <div class="pbmit-ihbox-icon-wrapper"> <i class="pbmit-dentiq-icon pbmit-dentiq-icon-shapes-and-symbols"></i> </div> </div> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-heading"> <h2 class="vc_custom_heading">16 Years</h2> </div> <div class="pbmit-ihbox-content">of Dentist Experience </div> </div> </div> </div> </div> </div> </div> </div> <div class="col-md-12 col-lg-6 doc"> <div class="about-one-img"> <img src="images/homepage-1/img-02.png" class="img-fluid" alt=""> </div> </div> </div> </div> </section> <!-- About End --> <!-- Service Start --> <section class="section-lgt service-section-one" id="service"> <div class="container"> <div class="pbmit-heading-subheading text-center"> <h4 class="pbmit-subtitle">OUR SERVICES</h4> <h2 class="pbmit-title">What We Offer for You</h2> <div class="pbmit-heading-content"> <!--<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut<br> labore t dolore magna aliqua. </p>--> </div> </div> <div class="swiper-slider" data-arrows-class="team3-arrow" data-autoplay="false" data-dots="true" data-arrows="true" data-columns="3" data-margin="30" data-effect="slide"> <div class="swiper-wrapper"> <div class="swiper-slide"> <!--firts slider end--> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/icons/Invisalign.jpeg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Invisalign</a> </h3> <div class="pbmit-service-content"> <p>We make no secret of our Invisalign aligners here at Dentalpark We think its versatility, discreet looks and convenient removability make it one of the best orthodontic solutions around. You can take them out when eating or brushing your teeth. You can also remove Invisalign whenever meetings, events and romance call.</p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <!--firts slider end--> <!-- Slide1 --> <div class="swiper-slide"> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-1.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Braces vs Invisalign</a> </h3> <div class="pbmit-service-content"> <p>Braces and Invisalign are both orthodontic treatments aimed at straightening teeth and correcting various misalignment issues. Each option has its own set of advantages and considerations, and the choice between them depends on factors such as individual preferences, treatment goals, and the severity of the orthodontic issues.</p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide2 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-2.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Single tooth implant</a> </h3> <div class="pbmit-service-content"> <p> A single tooth implant is a dental procedure used to replace a missing tooth. It involves surgically placing an artificial tooth root (implant) into the jawbone, which serves as a sturdy foundation for a prosthetic tooth (crown) to be attached. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide3 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-3.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Crown and bridge implant</a> </h3> <div class="pbmit-service-content"> <p> A crown and bridge implant is a dental restoration used to replace one or more missing teeth by anchoring prosthetic teeth (pontics) to dental implants. This approach combines the benefits of dental implants with those of traditional crown and bridge prosthetics. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide4 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-4.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Full mouth implants</a> </h3> <div class="pbmit-service-content"> <p> Full mouth implants, also known as full mouth reconstruction with dental implants or full arch implants, are comprehensive dental procedures designed to replace all missing teeth in either the upper or lower jaw, or both jaws, with dental implants. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide5 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-5.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Root canal treatment</a> </h3> <div class="pbmit-service-content"> <p> Root canal treatment, also known as endodontic therapy, is a dental procedure performed to treat infected or damaged tooth pulp, which is the soft tissue inside the tooth. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide6 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-6.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Acrylic dentures</a> </h3> <div class="pbmit-service-content"> <p> Acrylic dentures, also known as acrylic removable dentures or acrylic partial dentures, are a type of dental prosthesis used to replace missing teeth. These dentures are typically made of a base material called acrylic resin, which is a durable and biocompatible plastic. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide7 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-7.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Smile designing</a> </h3> <div class="pbmit-service-content"> <p> it's a comprehensive approach to improving the appearance of the smile through various cosmetic dental procedures. It involves careful planning and customization to address the individual's unique facial features, tooth characteristics, and personal preferences. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide8 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-8.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Zirconia crowns</a> <!--<a href="services-details.php">Cavity Protection</a>--> </h3> <div class="pbmit-service-content"> <p> Zirconia crowns are dental restorations made from zirconium oxide, a very strong and durable material. These crowns are often used in dentistry to restore the shape, function, and appearance of damaged or decayed teeth. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide9 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-9.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Impacted wisdom tooth surgery</a> <!--<a href="services-details.php">Radiographs</a>--> </h3> <div class="pbmit-service-content"> <p> Surgery to remove impacted wisdom teeth is a common dental procedure performed to address problems associated with impacted third molars, also known as wisdom teeth. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> <div class="swiper-slide"> <!-- Slide9 --> <article class="pbmit-service-style-1"> <div class="pbminfotech-post-item"> <div class="pbminfotech-box-content"> <div class="pbminfotech-box-content-inner"> <img src="images/homepage-1/img-01-10.jpg" class="img-fluid" alt=""> <h3 class="pbmit-service-title"> <a href="#">Invisalign</a> <!--<a href="services-details.php">Radiographs</a>--> </h3> <div class="pbmit-service-content"> <p> We make no secret of our Invisalign aligners here at Dentalpark We think its versatility, discreet looks and convenient removability make it one of the best orthodontic solutions around. We love it when a plan comes together. Our 3D imaging software lets us plan your treatment right down to the last millimetre of movement. And we can even show a preview of your new smile before getting started. </p> </div> <div class="pbmit-service-btn"> <div class="vc_btn3-container vc_btn3-inline"> </div> </div> </div> </div> </div> </article> </div> </div> </div> </div> </section> <!-- Service End --> <!-- Counter Start --> <!-- Counter End --> <!-- About us Start --> <section class="about-us-section-one section-lgb"> <div class="container"> <div class="row"> <div class="col-md-12 col-lg-6"></div> <div class="col-md-12 col-lg-6"> <!--<div class="pbmit-heading-subheading">--> <!-- <h4 class="pbmit-subtitle">Who we are</h4>--> <!-- <h2 class="pbmit-title">The milestone in excellent health care.</h2>--> <!-- <div class="pbmit-heading-content">--> <!-- <p>The Medical Cure program participates in student fairs in select locations. You can always Book an appointment for upcoming events. You can sign up for free alerts. </p>--> <!-- </div>--> <!--</div>--> <div class="row"> <div class="col-md-6"> <div class="pbmit-ihbox-style-4"> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-headingicon d-flex align-items-center"> <div class="pbmit-ihbox-icon"> <div class="pbmit-ihbox-icon-wrapper"> <i class="pbmit-dentiq-icon pbmit-dentiq-icon-molar"></i> </div> </div> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-heading"> <h2 class="vc_custom_heading">Kids Dentistry</h2> </div> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="pbmit-ihbox-style-4"> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-headingicon d-flex align-items-center"> <div class="pbmit-ihbox-icon"> <div class="pbmit-ihbox-icon-wrapper"> <i class="pbmit-dentiq-icon pbmit-dentiq-icon-dentist"></i> </div> </div> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-heading"> <h2 class="vc_custom_heading">Oral surgery</h2> </div> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="pbmit-ihbox-style-4"> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-headingicon d-flex align-items-center"> <div class="pbmit-ihbox-icon"> <div class="pbmit-ihbox-icon-wrapper"> <i class="pbmit-dentiq-icon pbmit-dentiq-icon-dental-insurance-1"></i> </div> </div> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-heading"> <h2 class="vc_custom_heading">Crowns</h2> </div> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="pbmit-ihbox-style-4"> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-headingicon d-flex align-items-center"> <div class="pbmit-ihbox-icon"> <div class="pbmit-ihbox-icon-wrapper"> <i class="pbmit-dentiq-icon pbmit-dentiq-icon-braces-1"></i> </div> </div> <div class="pbmit-ihbox-contents"> <div class="pbmit-ihbox-heading"> <h2 class="vc_custom_heading">Orthodontics</h2> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> <!-- About us End --> <!-- Testimonial Start --> <!-- testimonial End --> <!-- Appoinment Start --> <section class="pbmit-bg-color-light appoinment-section-one" id="appointment"> <div class="container pbmit-col-stretched-yes pbmit-col-right"> <div class="row g-0"> <div class="col-md-12 col-lg-6"> <div class="appoinment-one-bg"> <div class="pbmit-heading-subheading"> <h4 class="pbmit-subtitle">GET APPOINTMENT</h4> <h2 class="pbmit-title">Get the right Dentist<br> Care Book with your Doctor</h2> </div> <!--<form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post">--> <!-- <div class="row"> --> <!-- <div class="col-sm-6">--> <!-- <input type="text" id="name" name="your-name" class="form-control" placeholder="Your Name *" required>--> <!-- </div>--> <!-- <div class="col-sm-6">--> <!-- <input type="text" id="phone" name="phone Number" class="form-control" placeholder="Phone Number *" required>--> <!-- </div>--> <!-- <div class="col-sm-6">--> <!-- <input type="email" id="email" name="phone Number" class="form-control" placeholder="Email *" required>--> <!-- </div>--> <!-- <div>--> <!--<textarea name="customer_indement" id="customer_indement" cols="40" rows="5" class="form-control"placeholder="Message"></textarea>--> <!-- <textarea name="message" cols="40" rows="5" class="form-control" placeholder="Message"></textarea>--> <!-- </div>--> <!-- <div>--> <!--<button type="submit" class="pbmit-btn pbmit-btn-outline-global">Send Message</button>--> <!--<span id='mail-sent' class="pbmit-btn pbmit-btn-outline-global" title="" name="send_mail"><i class="bi bi-envelope-check"></i> Send Email</span>--> <!-- <button type="submit" class="pbmit-btn pbmit-btn-outline-global">Send Message</button>--> <!-- </div>--> <!-- </div>--> <!--</form>--> <form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post"> <div class="row"> <div class="col-sm-6"> <input type="text" id="name" name="name" class="form-control" placeholder="Your Name *" required> </div> <div class="col-sm-6"> <input type="number" min="10" id="phone" name="phone" class="form-control" placeholder="Phone Number *" required> </div> <div class="col-sm-6"> <input type="email" id="email" name="email" class="form-control" placeholder="Email *" required> </div> <div class="col-sm-12"> <textarea name="message" cols="40" rows="5" class="form-control" placeholder="Message"></textarea> </div> <div class="col-sm-12"> <button type="submit" name="submit" value="submit" class="pbmit-btn pbmit-btn-outline-global">Send Message</button> </div> </div> </form> <style> /* Hide the spinner controls */ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } input[type=number] { -moz-appearance: textfield; /* Firefox */ } .pbmit-service-content { text-align: justify; } </style> </div> </div> <div class="col-md-12 col-lg-6"> <div class="appoinment-one-img"></div> </div> </div> </div> </section> <!-- Appoinment End --> <!-- Client Start --> <!-- Client End --> <!-- Blog Start --> <!-- Blog End --> </div> <!-- Page Content End --> <section id="reviews" class="pbmit-bg-color-light" style="display: flex; justify-content: center; align-items: center; padding: 50px 0;"> <div class="container" style="max-width: 800px; margin: auto; text-align: center;"> <h4 class="pbmit-subtitle" style="font-size: 24px; margin-bottom: 30px;">Leave a Review</h4> <form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post" style="width: 100%;"> <div class="row" style="display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;"> <div class="col-sm-4" style="flex: 1; min-width: 300px;"> <input type="text" id="reviewer-name" name="reviewer_name" class="form-control" placeholder="Your Name *" required style="width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box;"> </div> <div class="col-sm-4" style="flex: 1; min-width: 300px;"> <input type="email" id="reviewer_email" name="reviewer_email" class="form-control" placeholder="Your Email *" required style="width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box;"> </div> <div class="col-sm-12" style="flex: 1; min-width: 300px;"> <select name="rating" id="rating" class="form-control" placeholder="Select Rating *" required style="width: 100%; padding: 4px 2px 2px 2px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box;"> <option value="5">Select Your Rating **</option> <option value="5">Excellent (5)</option> <option value="4">Very Good (4)</option> <option value="3">Good (3)</option> <option value="2">Fair (2)</option> <option value="1">Poor (1)</option> </select> </div> <div class="col-sm-12" style="flex: 1; min-width: 300px;"> <textarea name="review_message" id="review_message" cols="40" rows="5" class="form-control" placeholder="Write your review here *" required style="width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box;"></textarea> </div> <br> <div class="col-sm-12" style="flex: 1; max-width: 100%; text-align: center;"> <button type="submit" name="submit_review" value="submit_review" class="pbmit-btn pbmit-btn-outline-global" style="padding: 10px 30px; background-color: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer;"> Submit Review </button> </div> </div> </form> </div> </section> <?php if ($_SERVER["REQUEST_METHOD"] == "POST" && isset( $_POST['submit'])) { // Get form data $name = $_POST['name']; $phone = $_POST['phone']; $email = $_POST['email']; $message = $_POST['message']; // Email configuration $to = 'thedentalparksalem@gmail.com'; // $to = 'ajay9345ajay@gmail.com'; $subject = 'The Dental Park'; $message_body = "Name: $name\nPhone: $phone\nEmail: $email\n\nMessage:\n$message"; $headers = "From: $email"; // Send email if (mail($to, $subject, $message_body, $headers)) { // echo 'Message sent successfully. We will get back to you soon!'; // echo $message_body; $connect="<script>alert('Mail send successfully')</script>"; echo $connect; } else { // echo 'Failed to send message. Please try again later.'; $connect="<script>alert('Not Mail send successfully')</script>"; echo $connect; } } ?> <?php if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['submit_review'])) { // Get review form data $reviewer_name = $_POST['reviewer_name']; $reviewer_email = $_POST['reviewer_email']; $review_message = $_POST['review_message']; $rating = $_POST['rating']; // Capture the dropdown rating // Connect to the database $conn = new mysqli('localhost', 'selectio_dental_park', 'selectio_dental_park', 'selectio_dental_park'); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } // Save review to the database $sql = "INSERT INTO tbl_review (name, email, message, rating, submitted_at) VALUES ('$reviewer_name', '$reviewer_email', '$review_message', '$rating', NOW())"; if ($conn->query($sql) === TRUE){ echo "<script>alert('Thank you for your review! Your feedback has been submitted successfully.');</script>"; } else { echo "<script>alert('Failed to submit your review. Please try again later.');</script>"; } $conn->close(); } ?> <?php include("footer.php"); ?>