send email

This commit is contained in:
subashGamer21 2025-01-16 14:49:19 +05:45
parent 8f9b77a9f9
commit 02a8627f87
10 changed files with 105 additions and 58 deletions

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,7 +84,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>

View File

@ -54,7 +54,7 @@
<a href="about.php" style="color: #fff; text-decoration: none;">About Us</a> <a href="about.php" style="color: #fff; text-decoration: none;">About Us</a>
</li> </li>
<li style="margin: 10px 0;"> <li style="margin: 10px 0;">
<a href="car-details.php" style="color: #fff; text-decoration: none;">Cars</a> <a href="car-grid.php" style="color: #fff; text-decoration: none;">Cars</a>
</li> </li>
<li style="margin: 10px 0;"> <li style="margin: 10px 0;">
<a href="gallery.php" style="color: #fff; text-decoration: none;">Gallery</a> <a href="gallery.php" style="color: #fff; text-decoration: none;">Gallery</a>

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,7 +84,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,7 +84,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,7 +84,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,7 +84,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,12 +84,11 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
</div> </div>
<!-- Submit Button --> <!-- Submit Button -->
<div class="col-lg-12"> <div class="col-lg-12">
<button class="theme-btn animated-btn" type="submit"> <button class="theme-btn animated-btn" type="submit">

View File

@ -9,7 +9,7 @@
<div class="row"> <div class="row">
<div class="col-xl-3 col-lg-4 col-md-6 wow fadeInUp" data-wow-delay=".2s"> <div class="col-xl-3 col-lg-4 col-md-6 wow fadeInUp" data-wow-delay=".2s">
<div class="how-works-items"> <div class="how-works-items">
<h6 class="title"><a href="car-grid.php">Connect</a></h6> <h6 class="title"><a href="car-grid.php">ConTact</a></h6>
<div class="icon-box"> <div class="icon-box">
<div class="icon"> <div class="icon">
<img src="img/how-work/icon-1.png" alt="img" class="icon-1"> <img src="img/how-work/icon-1.png" alt="img" class="icon-1">
@ -17,7 +17,7 @@
</div> </div>
</div> </div>
<p> <p>
Contact Us via phone, email, or WhatsApp. Contact Us via phone, website, email, or WhatsApp.
</p> </p>
</div> </div>
</div> </div>

View File

@ -44,7 +44,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Your Name</label> <label class="label-text">Your Name</label>
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field"> <input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
</div> </div>
</div> </div>
@ -52,7 +52,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Email</label> <label class="label-text">Email</label>
<input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field"> <input type="text" name="email" id="email" placeholder="example@gmail.com" class="input-field" >
</div> </div>
</div> </div>
@ -60,7 +60,14 @@
<div class="col-lg-6"> <div class="col-lg-6">
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Phone Number</label> <label class="label-text">Phone Number</label>
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field"> <input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
</div>
</div>
<div class="col-lg-6">
<div class="form-clt">
<label class="label-text">Drop-off Location</label>
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
</div> </div>
</div> </div>
@ -68,7 +75,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Pick-up Date</label> <label class="label-text">Pick-up Date</label>
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>
@ -77,7 +84,7 @@
<div class="form-clt"> <div class="form-clt">
<label class="label-text">Drop-off Date</label> <label class="label-text">Drop-off Date</label>
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy"> <div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
<input class="form-control" type="text" placeholder="Check in" readonly> <input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span> <span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
$name = htmlspecialchars($_POST['name']); $name = htmlspecialchars($_POST['name']);
$email = htmlspecialchars($_POST['email']); $email = htmlspecialchars($_POST['email']);
$phone = htmlspecialchars($_POST['phone']); $phone = htmlspecialchars($_POST['phone']);
$address = htmlspecialchars($_POST['address']); // $address = htmlspecialchars($_POST['address']);
$location = htmlspecialchars($_POST['location']); $location = htmlspecialchars($_POST['location']);
$pickup_date = htmlspecialchars($_POST['pickup_date']); $pickup_date = htmlspecialchars($_POST['pickup_date']);
$dropoff_date = htmlspecialchars($_POST['dropoff_date']); $dropoff_date = htmlspecialchars($_POST['dropoff_date']);
@ -22,7 +22,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Gmail credentials // Gmail credentials
$gmailUser = 'subashgiri939@gmail.com'; // Replace with your Gmail address $gmailUser = 'subashgiri939@gmail.com'; // Replace with your Gmail address
$gmailPassword = ''; // Replace with your Gmail app password $gmailPassword = 'ochy hfbb zlmy kloj'; // Replace with your Gmail app password
// Create a new PHPMailer instance // Create a new PHPMailer instance
$mail = new PHPMailer(true); $mail = new PHPMailer(true);
@ -47,8 +47,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<p><strong>Name:</strong> $name</p> <p><strong>Name:</strong> $name</p>
<p><strong>Car Name:</strong> $car_name</p> <!-- Car Name Added --> <p><strong>Car Name:</strong> $car_name</p> <!-- Car Name Added -->
<p><strong>Phone:</strong> $phone</p> <p><strong>Phone:</strong> $phone</p>
<p><strong>Address:</strong> $address</p> <p><strong>Drop -off Location:</strong> $location</p>
<p><strong>Pick-up Location:</strong> $location</p>
<p><strong>Pick-up Date:</strong> $pickup_date</p> <p><strong>Pick-up Date:</strong> $pickup_date</p>
<p><strong>Drop-off Date:</strong> $dropoff_date</p> <p><strong>Drop-off Date:</strong> $dropoff_date</p>
<p>Thank you for your booking! We will contact you shortly for further details.</p> <p>Thank you for your booking! We will contact you shortly for further details.</p>
@ -57,8 +56,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
Your booking request has been received: Your booking request has been received:
Name: $name Name: $name
Phone: $phone Phone: $phone
Address: $address
Pick-up Location: $location Drop off Location: $location
Pick-up Date: $pickup_date Pick-up Date: $pickup_date
Drop-off Date: $dropoff_date Drop-off Date: $dropoff_date
Thank you for your booking! We will contact you shortly for further details. Thank you for your booking! We will contact you shortly for further details.
@ -77,8 +76,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<p><strong>Car Name:</strong> $car_name</p> <!-- Car Name Added --> <p><strong>Car Name:</strong> $car_name</p> <!-- Car Name Added -->
<p><strong>Email:</strong> $email</p> <p><strong>Email:</strong> $email</p>
<p><strong>Phone:</strong> $phone</p> <p><strong>Phone:</strong> $phone</p>
<p><strong>Address:</strong> $address</p>
<p><strong>Pick-up Location:</strong> $location</p> <p><strong>Drop off:</strong> $location</p>
<p><strong>Pick-up Date:</strong> $pickup_date</p> <p><strong>Pick-up Date:</strong> $pickup_date</p>
<p><strong>Drop-off Date:</strong> $dropoff_date</p> <p><strong>Drop-off Date:</strong> $dropoff_date</p>
<p>Please review the details for further action.</p> <p>Please review the details for further action.</p>
@ -89,7 +88,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
Email: $email Email: $email
Phone: $phone Phone: $phone
Address: $address Address: $address
Pick-up Location: $location Drop-of Location: $location
Pick-up Date: $pickup_date Pick-up Date: $pickup_date
Drop-off Date: $dropoff_date Drop-off Date: $dropoff_date
Car name : $car_name Car name : $car_name