<?php $conn = new mysqli('localhost', 'root', '', 'dts'); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?>