summaryrefslogtreecommitdiff
path: root/store_feedback.php
blob: 68a6586fa460f06ba16de0bab87927c695cd5926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
require_once('db-connect.php');
if($_POST['type'] && $_POST['comment']){
	$query = "insert into scilab_cloud_comment (type, comment, email) values(".$_POST['type'].", '".$_POST['comment']."', '".$_POST['email']."')";
	if(mysql_query($query)){
	
				echo "<p>Thank you for your valuable feedback.</p>";
			}else{
		echo "<p>Sorry for the inconvience, please try again</p>";
	}
}else{
	echo "<p>Sorry for the inconvience, please try again</p>";
}
?>