Please check mail function only............. its not submitting mail/// and doesnot show any error
Its urgent to finish this project
<?php
include ('../includes/connection.php');
include ('../includes/function.php');
$email = $_REQUEST['email'];
$sci_id = $_REQUEST['sciid'];
$senddatetime = date('Y-m-d H:i:s');
$expirydate = date('Y-m-d H:i:s', time() + 60*60*24*2);
$secretkey = GenerateKey();
$sqldata = mysql_fetch_assoc(mysql_query("SELECT * FROM tbl_student WHERE s_email='$email'"));
$subject = "Request For Feedback About BROADWAY INFOSIS NEPAL";
$content='Dear '.$sqldata['s_name'].',<br/> BROADWAY INFOSIS NEPAL wants to know your perception about us and the course you have recently taken from our institution. We require your suggestion/grievances/comments about our institution that will help us to improve the quality of our services.<br/>
<h2><a href="$link">Please click on this link to fill our FEEDBACK FORM!</a></h2><br/>
This feedback form is submitted via email which was registered in <strong>Broadway Infosis Nepal</strong> in student profile. If you are not the right person please do not fill this form and inform to <strong>Broadway Infosis Nepal</strong>
$message = html_entity_decode($content);
if (mail ($email,$subject,$message,'From: BROADWAY INFOSIS NEPAL',$debug=false)) {
header ('location: index.php?successnotification=Successfully Submitted Feedback Request');
} else {
echo "Sending Mail Error";}
?>