edit

parent 84d83b82
...@@ -11,7 +11,7 @@ $email = $_POST['email']; ...@@ -11,7 +11,7 @@ $email = $_POST['email'];
$komentar = $_POST['message']; $komentar = $_POST['message'];
$query = 'INSERT INTO komentar( `name`, `email`, `komentar`) VALUES(?, ?, ?)'; $query = 'INSERT INTO komentar( `name`, `email`, `komentar`) VALUES(?, ?, ?)';
$statement = $database->prepare($query); $statement = $conn->prepare($query);
$statement->bind_param('sss', $nama, $email, $komentar); $statement->bind_param('sss', $nama, $email, $komentar);
$statement->execute(); $statement->execute();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment