-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.php
68 lines (59 loc) · 1.94 KB
/
register.php
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
67
68
<?php
session_start();
//create a variable called $pagename which contains the actual name of the page
$pagename="Customer Registration";
echo "<link rel='shortcut icon' type='image/png' href='favicon.png' >";
//call in the style sheet called mystylesheet.css to format the page as defined in the style sheet
echo "<link rel=stylesheet type=text/css href=mystylesheet.css>";
//display window title
echo "<title>".$pagename."</title>";
//include head layout
include ("headfile.html");
echo "<p></p>";
//display name of the page and some random text
echo "<h2>Register and create a workedUp account</h2>";
?>
<table>
<form action=getregister.php method=post>
<tr>
<td>First Name</td>
<td><input type="text" name="fname"></td>
</tr>
<tr>
<td>Last Name</td>
<td><input type="text" name="lname"></td>
</tr>
<tr>
<td>Address</td>
<td><input type="text" name="address"></td>
</tr>
<tr>
<td>Postcode</td>
<td><input type="text" name="postcode"></td>
</tr>
<tr>
<td>Tel No</td>
<td><input type="text" name="telno"></td>
</tr>
<tr>
<td>Email Address</td>
<td><input type="text" name="email"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td>Confirm Password</td>
<td><input type="password" name="confpassword"></td>
</tr>
<tr>
<td><input type="submit" value="Register"></td>
<td><input type="reset" value="Clear"></td>
</tr>
</form>
</table>
<?php
//include head layout
include("footfile.html");
?>