encryptData($v); $stmt = $con->prepare("SELECT id, phone, first_name FROM driver WHERE phone = ? OR phone = ?"); $stmt->execute([$v, $enc]); $res = $stmt->fetch(); if ($res) { echo "FOUND! ID: {$res['id']}, Name: {$res['first_name']}, Phone in DB: {$res['phone']}\n"; exit; } } echo "NOT FOUND in driver table.\n";