<?php
$username = "test";
$password = "test";
$hostname = "192.168.1.10";
$dbhandle = mysqli($hostname, $username, $password)
or die("Unable to connect to MySQL");
echo "Connected to MySQL<br>";
//select a database to work with
$selected = mysql_select_db("users",$dbhandle)
or die("Could not select examples");
?>
Fatal error: Uncaught Error: Call to undefined function mysqli() in /in/FZ0s3:6
Stack trace:
#0 {main}
thrown in /in/FZ0s3 on line 6
Process exited with code 255.