<?php include("/var/www/config.php"); $databse = "logisys3_comexam"; $conn = new mysqli(SERVERNAME,USERNAME,PASSWORD,$databse); if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } ?>