LOGOWANIE

KWALIFIKACJA INF3 - TEST WIEDZY NR 1

Pytanie nr 13
<?php
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "myDB";

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

// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>
Co robi powyższy fragment kodu?
A.
B.
C.
D.