-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess.php
More file actions
28 lines (17 loc) · 740 Bytes
/
process.php
File metadata and controls
28 lines (17 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
require_once 'core/init.php';
if(isset($_POST["fdbk_name"])){
$fdbk_name = $_POST["fdbk_name"];
$fdbk_message = $_POST["fdbk_message"];
$inserSql = "INSERT INTO feedback (`fd_name`, `fd_message`) VALUES('$fdbk_name', '$fdbk_message')";
// $db->query($inserSql);
if($db->query($inserSql)){
// header("Location: index.php");
echo "Your feedback has been added!..";
}
exit();
}
// if (isset($_POST['email'])) {
// echo "okayyyyyyyyyyyy";
// }
?>