<?php
include'connection.php';
include'time.php';
    // Change Profile Programme// 
    
    $usrid = $_GET['usrid'];
    $pan = $_GET['pan'];
    $city = $_GET['city'];
    $address = $_GET['address'];
    $bizName = $_GET['bizName'];
    $email = $_GET['email'];
    $gst = $_GET['gst'];
    $state = $_GET['state'];
    $pinCode = $_GET['pinCode'];

    $qu="update retailer set Pan='$pan', City='$city', Address='$address', Businessname='$bizName', Email='$email', Gst='$gst', State='$state', Pincode='$pinCode' where Userid='$usrid'";
    if(mysqli_query($con,$qu))
    {
        echo "<div class='msg-div'>
                <form method='post'>
                <h3>Profile Changed Successfully !</h3><br>
                <i class='fa fa-check-circle' aria-hidden='true' id='okIcon'></i><br><br>
                <button type='submit' class='btnPopup'>OK</button><br><br>
                </form>
            </div>";
    }
?>