0

I am currently trying to connect a web application to my mysql database but I just keep getting a 'Class mysqli' not found error.

Here's the code:

$servername = "localhost";
$username = "sparkbusiness_jamie";
$password = "Firefrazzy01";

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

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

If anyone can help it would be appreciated.

user3257023
  • 43
  • 1
  • 10

0 Answers0