<?php
require_once 'config.php';
require_once 'password_verify_fxh.php';

$conn = fxh_db();

$email = 'digimartltd@gmail.com';
$pass  = 'Mustaffa@2022';

$stmt = $conn->prepare("SELECT user_pass FROM fxhai_users WHERE user_email = ? LIMIT 1");
$stmt->bind_param("s", $email);
$stmt->execute();
$res = $stmt->get_result();
$stmt->close();

$row = $res->fetch_assoc();
$hash = $row['user_pass'];

var_dump(fxh_check_password($pass, $hash));
