diff --git a/SQL/sql2.php b/SQL/sql2.php index 0023712..d01c76c 100644 --- a/SQL/sql2.php +++ b/SQL/sql2.php @@ -28,6 +28,7 @@ // Create connection $conn = new mysqli($servername, $username, $password,$db); + // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error);