-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
57 lines (55 loc) · 1.88 KB
/
profile.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
<?php
include("includes/header.php");
include("includes/conn.php");
if($_SESSION["logtype"]== "Patient")
{
$res = mysqli_query($con,"Select * from patient");
$retpat = mysqli_fetch_array($res);
$name= $retpat[pat_name];
$gender= $retpat[gender];
$password= $retpat[password];
$email_id= $retpat[email_id];
$contact= $retpat[contact];
}
?>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<?php
include("sidebar.php");
?>
</div>
</div>
<div id="content" class="float_r">
<table width="506" border="0">
<tr>
<td width="119" height="46">Name:</td>
<td width="377"><input class="right" name="fname" type="text" id="fname" size="50" readonly="readonly" value="<?php echo $name; ?>"/></td>
</tr>
<tr>
<td height="44"><span class="left">Gender:</span></td>
<td><?php
echo $gender;
?>
</td>
</tr>
<tr>
<td height="47">Password:</td>
<td><input class="right" name="password" type="password" readonly="readonly" id="emailid4" size="50" value="<?php echo $password; ?>" /></td>
</tr>
<tr>
<td height="56">Email-ID:</td>
<td><input class="right" name="emailid" type="text" id="emailid" readonly="readonly" size="50" value="<?php echo $email_id; ?>"/></td>
</tr>
<tr>
<td height="50">Contact:</td>
<td><input class="right" name="contact" type="text" id="emailid3" readonly="readonly" size="50" value="<?php echo $contact; ?>" /></td>
</tr>
</table>
</div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("includes/footer.php");
?>