0% found this document useful (0 votes)
12 views3 pages

F:/Xampp/htdocs/ndaru/form - PHP: 1/3

This document contains the code for a web page with a registration form. The page includes a header, navigation menu, content area, and footer. The content area contains a registration form with fields for user details like NPM, name, date of birth, gender, address, major, interests, and photo. Users can fill out the form and submit it to save their registration details.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

F:/Xampp/htdocs/ndaru/form - PHP: 1/3

This document contains the code for a web page with a registration form. The page includes a header, navigation menu, content area, and footer. The content area contains a registration form with fields for user details like NPM, name, date of birth, gender, address, major, interests, and photo. Users can fill out the form and submit it to save their registration details.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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

<html>
<head>
<title>Belajar Web</title>
</head>
<body background="gambar/bg.jpg">
<table border="0" align="center">
<!--area header-->
<tr>
<td style="color:#FF0000" colspan="2" width="900" height="
150" background="gambar/header.jpg"
align="center">
</td>
</tr>
<!--area menu dan content-->
<tr>
<td width="50" height="400" bgcolor="#00FFFF">
<h1>Menu</h1>
<br>
<a href="belajarweb.html"><img src="gambar/bbm.jpg" height
="30" width="30">Home</a>
<br>
<a href="form.html"><img src="gambar/android.png" width="3
0" height="30">Register</a>
<br>
<a href="home.html"><img src="gambar/android.png" width="3
0" height="30"> Profile</a>
<br>
<a href="home.html"><img src="gambar/android.png" width="3
0" height="30"> About Us</a>
<br>
<a href="home.html"><img src="gambar/android.png" width="3
0" height="30"> Contact</a>
</td>
<td width="300" height="400" bgcolor="#99FF00">
<marquee><h1>Form Register</h1></marquee>
<table>
<form action="simpan.php" method="post" name="forminput" e
nctype="multipart/form-data">
<tr>
<td width="150" height="30"><b>NPM</b></td>

F:\Xampp\htdocs\ndaru\form.php: 1/3

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
67
68
69
70
71
72
73
74
75
76
77
78
79
80

<td width="150" height="30"><input type="text" name="npm"


size="20" maxlength="14">
</td>
</tr>

<tr>
<td width="150" height="30"><b>Nama</b></td>
<td width="150" height="30"><input type="text" name="nama"
size="30" maxlength="30">
</td>
</tr>
<tr>
<td width="150" height="30"><b>TTL</b></td>
<td width="150" height="30"><input type="text" name="TTL"
size="30" maxlength="30">
</td>
</tr>
<tr>
<td width="150" height="30"><b>Jenis Kelamin</b></td>
<td width="150" height="30">
<input type="radio" name="jk" value="P">Pria
<input type="radio" name="jk" value="W">Wanita
</td>
</tr>

<tr>
<td width="150" height="30"><b>Alamat</b></td>
<td width="150" height="30">
<textarea name="alamat" rows="3" cols="30"></textarea>
</td>
</tr>
<tr>
<td width="150" height="30"><b>Jurusan</b></td>
<td width="150" height="30">
<select name="jurusan">
<option value="TI">Teknik Informatika</option>
<option value="SI">System Informasi</option>
</select>
</td>
</tr>
<tr>

F:\Xampp\htdocs\ndaru\form.php: 2/3

81
82
83
84

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111

<td width="150" height="30"><b>Peminatan</b></td>


<td width="150" height="30">
<input type="checkbox" name="network" value="Networking">N
etworking
<input type="checkbox" name="design" value="DesignGrafis">
DesignGrafis
</td>
</tr>
<tr>
<td width="150" height="30"><b>Photo</b></td>
<td width="150" height="30">
<input type="file" name="file">
</td>
</tr>

<tr>
<td width="150" height="30"><b></b></td>
<td width="150" height="30">
<input type="submit" value="Save" name="save">
</td>
</tr>
</form>
</table>

</td>
</tr>
<td colspan="2" width="1000" height="50" bgcolor="#FF00FF"
>Footer</td>
</table>
</body>
</html>

F:\Xampp\htdocs\ndaru\form.php: 3/3

You might also like