<?php
// Database connection parameters
$servername = "localhost"; // or your server name
$username = "your_username"; // your database username
$password = "your_password"; // your database password
$database = "student_log"; // your database name
// Create connection
$conn = new mysqli($servername, $username, $password, $database);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
// Close connection
$conn->close();
?>
0 Comments
I really appreciate for your words. Thank you very much for your comment.