-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.php
More file actions
38 lines (33 loc) · 782 Bytes
/
view.php
File metadata and controls
38 lines (33 loc) · 782 Bytes
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>
<body>
<center><table border='1'>
<thead>
<th>name</th>
<th>password</th>
<th>Email</th>
<th>Gender</th>
</thead>
<tbody>
<?php
$id=$_GET['id'];
$conn=mysqli_connect("localhost","root","","samarth");
$re=mysqli_query($conn,"select * from credit where id='$id'");
while($de=mysqli_fetch_assoc($re))
{
echo'<tr>
<td>'.$de['name'].'</td>
<td>'.$de['email'].'</td>
<td>'.$de['current credit'].'</td>
<td>'.$de['DOB'].'</td>
</tr>';
}
?>
</tbody>
</table>
<form action="tranfer.php" method="post">
Enter Credit<input type="number" name="credit"><br><br>
<input type ="submit" value="transfer" name="submit">
</body>
</head>
</html>