-
Notifications
You must be signed in to change notification settings - Fork 0
/
sign_up_customer.php
51 lines (45 loc) · 2.16 KB
/
sign_up_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
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<h1 class="single-title span12" style="border-bottom: 2px solid #999999" align="center">Please Sign Up (Customer)</h1><br>
<?php
include_once "wub_php_class.php";
$obj = new wub_php_class();
?>
<?php
if(isset($_POST['signup'])){
$obj->customer_info_insert($_POST['Name'],$_POST['Address'],$_POST['EmailId'],$_POST['PhoneNo'],$_POST['Password'],$_FILES['Image'] );
}
?>
<form action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="Name">Name</label>
<input type="text" class="form-control" id="Name" name="Name" placeholder="Enter Your Name"required>
</div>
<div class="form-group">
<label for="Address">Address</label>
<input type="text" class="form-control" id="Address" name="Address" placeholder="Enter Your Address"required>
</div>
<div class="form-group">
<label for="EmailId">Email Address</label>
<input type="text" class="form-control" id="EmailId" name="EmailId" placeholder="Enter Your Email Address"required>
</div>
<div class="form-group">
<label for="PhoneNo">Phone Number</label>
<input type="text" class="form-control" id="PhoneNo" name="PhoneNo" placeholder="Enter Your Phone Number"required>
</div>
<div class="form-group">
<label for="Password">Password</label>
<input type="password" class="form-control" id="Password" name="Password" placeholder="Enter Your Password"required>
</div>
<div class="form-group">
<label for="Image">Image</label>
<p style="color: red;">Image Size Must Be 250X200 Pixels</p>
<input type="file" id="Image" name="Image">
</div>
<input type="submit" class="btn btn-primary" id="signup" name="signup" value="Sign Up">
</form>
</div>
<div class="col-md-3"></div>
</div>
</br>