Skip to content
Permalink
c78b080280
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
20 lines (16 sloc) 383 Bytes
<?php
error_reporting(0);
require_once 'bootstrap.php';
//connection string
$conn = new mysqli(DB_HOST,DB_USER,DB_PASS,DB_NAME);
//check
if($conn->connect_error)
{
//if connection error occurs show the error and error code and die
die('Connection ERROR [' . $conn->connect_errno . ']:' . $conn->connect_error );
}
/**
*else{
*echo 'connection established';
*}
**/