-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.php
51 lines (48 loc) · 1.02 KB
/
customer.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
<!DOCTYPE html>
<html>
<head>
<style>
div {
border: 1px solid gray;
padding: 8px;
}
h1 {
text-align: center;
text-transform: uppercase;
color: #4CAF50;
}
p {
text-indent: 50px;
text-align: center;
letter-spacing: 3px;
}
a {
text-decoration: none;
color: #008CBA;
}
</style>
</head>
<body
<div>
<h1>Wait for Approval</h1>
</div>
<?php
require 'my_connect_str.php';
$FName = $_POST['FName'];
$LName = $_POST['LName'];
$Address = $_POST['Address'];
$Gender = $_POST['sex'];
$Contact_No = $_POST['Contact_No'];
$Email_ID = $_POST['Email_ID'];
$AadharNo = $_POST['AadharNo'];
$ID = $_POST['ID'];
$query = "INSERT into managerapproval values('$FName', '$Lname', '$Address', '$Gender', '$Contact_No', '$Email_ID', '$AadharNo', '$ID')";
$stdid = oci_parse($con_str, $query);
if(!oci_execute($stdid)){
print("Error. ");
}
else{
echo "<br>";
echo "<p>Entry Made. Application to be reviewed by manager. Contact will be made upon account validation.</p>";
}
?>