MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/buysellproperty/Ajax/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/buysellproperty/Ajax/sec.php
<?php

// $response = array();
//   $detail = array();
//   $response['data'] = array();

    include '../admin/includes/config.php';

    // session_start();

    extract($_POST);
 





          $SQL1 = "update tbl_inq set state='$state',city='$city',ptype='$ptype',buget='$debu' where id=$eid";



        $sql_res1 = mysqli_query($conn, $SQL1) or die(mysqli_error($con));

         echo  $last_id = $eid;
         
         $sql = "select * from tbl_inq where id='$eid' ";
                                                $sql_res = mysqli_query($conn, $sql) or die(mysqli_error($con));
                                                $sql_row = mysqli_fetch_assoc($sql_res);
                                                $email = $sql_row['email'];
           // user 
    
                                 $html_message  =   '<p>Thank you for choosing Sunrise Venture</p>';
                                  $html_message  .=   '<p>        We have received your enquiry. Our team connect you shortly </p>';
                                     $html_message  .=   '<p>       For more details you can call us on 9910511007</p>';
                                 
                                 
                                  
                                  
                                  
          
                 $to =$email ;
                //   $to ="sunrise.mittal@gmail.com" ;
                 $subject = "Bulk Enquriy ";
                //  $header = "From:$email \r\n";
                 $header = "MIME-Version: 1.0\r\n";
                 $header .= "Content-type: text/html\r\n";
                 
                 $retval = mail ($to,$subject,$html_message,$header);
                 
    
    
    // admin
    
     $html_wmessage  =   '<p>Hi Admin You have got New Enquiry Please Check Admin Panels.</p>';
      $html_wmessage  .=   '<p>Thank you </p>';


          
                 $to ="faujiteams@gmail.com" ;
                //  $to ="sunrise.mittal@gmail.com" ;
                 $subject = " Enquriy ";
                //  $header = "From:$email \r\n";
                 $header = "MIME-Version: 1.0\r\n";
                 $header .= "Content-type: text/html\r\n";
                 
                 $retgh = mail ($to,$subject,$html_wmessage,$header);
    
    
          
          ?>

MMCT - 2023