18 lines
437 B
PHP
18 lines
437 B
PHP
<?PHP
|
|
error_reporting(E_ALL);
|
|
|
|
if (session_status() === PHP_SESSION_NONE){
|
|
session_start();
|
|
}
|
|
$host = "localhost";
|
|
$user = "root";
|
|
$database = "tech4biz";
|
|
$password = "";
|
|
|
|
$BASE_URL = "https://www.tech4bizsolutions.com";
|
|
|
|
$connection = new mysqli($host, $user, $password, $database);
|
|
|
|
if ($connection->connect_error) {
|
|
die("Failed to Connect with Database<br/>" . mysqli_connect_error() . mysqli_connect_errno());
|
|
} |