[Solved] how to connect to a mysql database [closed]


<?php
$servername = "localhost";
$username = "Mark";
$password = "secret";

// Create connection
$conn = new mysqli($servername, $username, $password);

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?> 

0

solved how to connect to a mysql database [closed]