-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.php
More file actions
66 lines (47 loc) · 1.09 KB
/
view.php
File metadata and controls
66 lines (47 loc) · 1.09 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hasil</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p align="center"><font size="5px"><b>Registrasi Sukses</b></font></p>
<table align="center">
<?php
$host= "localhost";
$user= "root";
$password= "";
$email=$_POST['email'];
$fullname=$_POST['fullname'];
$username=$_POST['username'];
$passwd=$_POST['passwd'];
{
$conn=mysqli_connect ($host,$user,$password);
mysqli_select_db ($conn,'ig');
$sql="insert into tuser values ('$email', '$fullname', '$username', '$passwd')";
$hasil=mysqli_query ($conn,$sql);
}
?>
<div id="container">
<div class="Header">
Verivication
</div>
<div class="hasil">
<div class="email">
Email : <?php echo" $email" ?><br>
</div>
<div class="fullname">
Full name : <?php echo "$fullname"; ?><br>
</div>
<div class="user">
Username : <?php echo "$username"; ?><br>
</div>
<div class="password">
Password : <?php echo "$passwd"; ?><br>
</div>
</div>
</div>
</table>
</body>
</html>