Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PondokEdo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roy Junedi Simamora
PondokEdo
Commits
92b5916a
Commit
92b5916a
authored
May 16, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dihapus
parent
42f6a774
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
cek_comment.php
cek_comment.php
+0
-21
No files found.
cek_comment.php
deleted
100644 → 0
View file @
42f6a774
<?php
include
(
'koneksi.php'
);
if
(
isset
(
$_POST
[
'kirim'
])){
$nama
=
$_POST
[
'name'
];
$hp
=
$_POST
[
'phone'
];
$email
=
$_POST
[
'email'
];
$comment
=
$_POST
[
'comment'
];
}
$input
=
mysql_query
(
"INSERT INTO komentar VALUES('','
$nama
','
$comment
','
$email
','
$hp
')"
)
or
die
(
mysql_error
());
if
(
$input
){
echo
(
"<script> alert('Terimakasih atas ulasan anda')</script>"
);
echo
"<meta http-equiv='refresh' content='1 url=form_comment.php'>"
;
}
else
{
echo
'gagal mengirimkan komentar'
;
header
(
"location:form_komentar.php"
);
}
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment