| Server IP : 50.63.8.194 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT P3NWVPWEB026 10.0 build 17763 (Windows Server 2016) AMD64 User : IWPD_7824(SpiPanel) ( 0) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/mmit_shamli/home/ |
Upload File : |
<?php
include("../admin/connection.php");
$name = $_POST['name'];
$enroll = $_POST['enroll'];
$mob = $_POST['mob'];
$email = $_POST['email'];
$sub = $_POST['subject'];
$msg = $_POST['message'];
$q_ins = "insert into tbl_grievance (stu_name, enroll_no, mobile, email, subject, msg, status, date) values('$name', '$enroll', '$mob', '$email', '$sub', '$msg', 'N', CURRENT_DATE())";
if(mysqli_query($dbCon, $q_ins)){
header("location:grievance.php?msg=1");
}else{
header("location:grievance.php?msg=0");
}
?>