Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RestoranPondokEdo
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
Mei Romauli Sagala
RestoranPondokEdo
Commits
65fad6bb
Commit
65fad6bb
authored
7 years ago
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
f4b29b06
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cek_daftar.php
cek_daftar.php
+2
-1
No files found.
cek_daftar.php
View file @
65fad6bb
...
...
@@ -36,8 +36,9 @@
if
(
$cek_username
==
0
){
//jika nama tidak ditemukan/belum terdaftar
//lakukan penambahan data
$id
=
$countData
+
1
;
mysqli_query
(
$koneksi
,
"INSERT INTO member VALUES('','
$nama
', '
$address
', '
$hp
', '
$uname
', '
$pass
', '
$email
')"
);
echo
(
"<script> alert('Pendaftaran berhasil')</script>"
);
echo
"<meta http-equiv='refresh' content='1 url=form_daftar.php'>"
;
header
(
"Location: form_login.php"
)
;
}
else
{
echo
(
"<script> alert('Username sudah terdaftar , silahkan ganti username anda')</script>"
);
echo
"<meta http-equiv='refresh' content='1 url=form_daftar.php'>"
;
...
...
This diff is collapsed.
Click to expand it.
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