<?php
//session_start();

$host = "localhost";
$user = "root";      // exact username from cPanel
$pass = "";       // your MySQL password (not cPanel password)
$dbname = "propertylisting";


$conn = new mysqli($host, $user, $pass, $dbname);
if ($conn->connect_error) {
    die("Database connection failed");
}


$error = "";