-
Notifications
You must be signed in to change notification settings - Fork 1
/
regpatient.php
42 lines (40 loc) · 1.36 KB
/
regpatient.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
<?php
require './patient.php';
?>
<title>
Register Patient
</title>
<form action="patientregconfirm.php" enctype="multipart/form-data" method="POST">
<fieldset style="width: 50%"><legend>Input Patient Details</legend>
<table>
<tr>
<td>Passport</td>
<td><input type="file" name="pbxPassport"></td>
</tr>
<tr>
<td>Patient ID</td>
<td><input type="text" name="txtPid" readonly="true" value="<?php echo genPatientId();?>"></td>
</tr>
<tr>
<td>Surname</td>
<td><input type="text" name="txtSurname" required="true" maxlength="25"></td>
</tr>
<tr>
<td>Othername</td>
<td><input type="text" name="txtOthername" required="true" maxlength="25"></td>
</tr>
<tr>
<td>Gender</td>
<td>
<select name="cbxGender">
<option >Male</option>
<option >Female</option>
</select>
</td>
</tr>
</table>
<input type="reset" style="margin-left: 150px" value="Reset">
<input type="submit" value="Register">
</fieldset>
</form>
<a href="index.php" style="text-decoration:none"> Back </a>