-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtransfer.php
55 lines (48 loc) · 1.21 KB
/
transfer.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
<?php
session_start();
$con=mysqli_connect('localhost','root','','company');
//mysqli_select_db($con,'test');
$q="select name from user";
$result=mysqli_query($con,$q);
//echo $_POST["transfer"];
$_SESSION['to']=$_POST["transfer"];
?>
<html>
<head>
<title>
viewUser
</title>
<link rel="stylesheet" href="style.css">
<style>
input[type=text]
{
margin-top: 5px;
width:10em;
height:2em;
font-size:15px;
font-weight: bold;
}
input[type=submit]
{
margin-top: 10px;
width:6em;
height:2em;
font-size:15px;
background-color: brown;
font-weight: bold;
}
</style>
</head>
<body>
<form action="checkcredit.php" method="post" style="position: relative; top:20%; ">
<div class="view">
<strong>Transfer Amount:</strong>
<br>
<br>
<input type="text" name="transfer"><br>
<br>
<input type="submit">
</div>
</form>
</body>
</html>