| Current Path : /var/www/html/venkat/course/evaluation/ |
| Current File : /var/www/html/venkat/course/evaluation/submit_survey.php |
<?php
include("db1.php");
include("session.php");
$a = 0;
$stmt = $conn->prepare("INSERT INTO researchdaysurvey(Roll_No, Name, Paper_Title, Department) VALUES (:rollno, :name, :title, :department)");
$stmt->bindParam(':rollno', addslashes($_POST['rollno']));
$stmt->bindParam(':name', addslashes($_POST['name']));
$stmt->bindParam(':title', addslashes($_POST['title']));
$stmt->bindParam(':department', addslashes($_POST['Department']));
if($stmt->execute()) {
echo "<b> <center> <font color = 'blue'> <br>Sucessfully Submitted </font> </center> </b> <br> <br>";
}