Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
ajax
:
mail-20241115044747.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php session_start(); include('../config/database.php'); $name = $_POST['name']; $mobile = $_POST['phone']; $email = $_POST['email']; $country = $_POST['country']; $message = mysqli_real_escape_string($cn,strip_tags($_POST['message'])); if(!empty($name) && !empty($email) && !empty($country) && !empty($message)) { $sqlOrder = mysqli_query($cn, "INSERT INTO `tbl_contact` SET `name`='".$name."', `email`='".$email."', `mobile`='".$mobile."', `country`='".$country."', `message`='".$message."', `date`=Now()"); if($sqlOrder) { echo '<div class="alert alert-success">Thank you for your Interest. Our Team will revert Shortly.</div>'; } } else { echo '<div class="alert alert-danger">Please Fill Required Fields.</div>'; } ?>