<?php
require 'c:/xampp/htdocs/dizzartshopping/shopnest/php-api-server/config/database.php';

$db = getDb();
$email = 't6@gmail.com';
$stmt = $db->prepare("SELECT id, name, email, fcm_token, status FROM users WHERE email = ?");
$stmt->bind_param('s', $email);
$stmt->execute();
$res = $stmt->get_result()->fetch_assoc();
echo json_encode($res, JSON_PRETTY_PRINT);
?>
