Hello Team,
Please I installed Xampp that is running php 7.1.2 on my local computer and tried to run the following codes:
<?php
$username = "root";
$password = "";
$database = "addressbook";
$server = "127.0.0.1";
mysqli_connect($server, $username, $password);
print("Congratulations!, Connection to the server is opened.");
?>
but I keep getting fatal error: Call to undefined function mysqli_connect()
Please help me. I am a beginner .