-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.php
More file actions
37 lines (33 loc) · 850 Bytes
/
add.php
File metadata and controls
37 lines (33 loc) · 850 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
<?php
include_once('configuration.php');
session_start();
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
header("location: login.php");
exit;
}
?>
<!DOCTYPE html>
<html>
<head>
<title>add</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
</head>
<body>
<div>
<form action="process_add.php" method="post">
<div class="container">
<div class="row">
<div class="col-sm-3">
<p>add money to wallet</p>
<hr class="mb-3">
<label for="add"><b>Enter amount to be added</b></label>
<input class="form-control" id="add" type="number" name="add" required>
<hr class="mb-3">
<input class="btn btn-primary" type="submit" id="ok" name="ok" value="add">
</div>
</div>
</div>
</form>
</div>
</body>
</html>