PHP conectarse a la base de datos
$conn = new mysqli($servername, $loginDB, $passwordDB);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
Hemnyos