PHP подключитесь к базе данных
$conn = new mysqli($servername, $loginDB, $passwordDB);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
Hemnyos