-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiag_phone_ver.php
36 lines (31 loc) · 994 Bytes
/
diag_phone_ver.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
<?php
//verification of seller legal name
include 'pdodb.php';
session_start();
if(isset($_POST['submit']))
{
$email=$_SESSION['email'];
$tel=$_POST['tel_ver'];
$query="UPDATE diag_seller SET seller_mob = :tel WHERE seller_email=:email";
$stmt=$conn->prepare($query);
if($row=$stmt->execute(['tel'=>$tel,'email'=>$email]))
{
echo "your data has been successfuly submitted";
}
else
{
echo "your data has not been submitted";
}
}
?>
<!--VERIFICATION_OF_MOBILE-->
<form action="" method="post" id="form">
<ul>
<li><h3>Verify Mobile Number</h3></li>
<li><input type="tel" name="tel_ver" placeholder="Mobile number" required></li><br>
<li style="font-size:small;color:#7f7f7f;">Note:otp will be send to this number for verification.</li>
<li><input type="submit" name="submit" value="Send OTP" style="background-color:#cc324b;border:0;color:white;"></li><br>
</ul>
</form>
<body>
<html>