<?php
define('DB_HOST', 'localhost');
define('DB_USER', 'root'); // Default XAMPP MySQL user
define('DB_PASS', ''); // Default XAMPP MySQL password
define('DB_NAME', 'appraisal_db');

$conn = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
if (!$conn) {
    die("Connection failed: " . mysqli_connect_error());
}

// PHPMailer settings (update with your SMTP details)
define('SMTP_HOST', 'smtp.gmail.com');
define('SMTP_PORT', 587);
define('SMTP_USER', 'mis@kpce.edu.gh');
define('SMTP_PASS', 'opuzzoqmfsezqcix'); // Gmail App Password
define('SMTP_FROM_EMAIL', 'mis@kpce.edu.gh');
define('SMTP_FROM_NAME', 'GranceLink');



