} else {
                            echo "Password is not match!";
                        }
                    } else {
                        echo "Enter Minimum 6 Characters In Password!";
                    }
                } else {
                    echo "Username already taken!";
                }
            }
        } catch (PDOException $e) {
            echo $e->getMessage();
        }
    }
}
if (!empty($_POST["Username"]) && !empty($_POST["Email"]) && !empty($_POST["Password"]) && !empty($_POST["Cpassword"])) {
    $username = $_POST["Username"];
    $email = $_POST["Email"];
    $password = $_POST["Password"];
    $cpassword = $_POST["Cpassword"];
    $wallet = new Wallet($con, $coin);
    echo $wallet->Create_wallet($username, $password, $cpassword, $email);
} elseif (empty($_POST["Username"])) {
    echo "Please Enter Username!";
} elseif (empty($_POST["Password"])) {
    echo "Please Enter Password!";
} elseif (empty($_POST["Cpassword"])) {
    echo "Please Enter Confirm Password!";
} elseif (empty($_POST["Email"])) {
    echo "Please Enter Email!";
}