I am just getting through the SAMS teach yourself PHP, MySQL, and Apache and have run into a road block. There must be something that I am missing, because everywhere that I have looked shows that the following should work:
<?php
$dblink = new mysqli("localhost", "root", "password", "access") or die(mysqli_error($dblink));
echo "Connected to MySQL<br />";
?>
MySQL is on the local PC, I only have the root user, I know the password, and I have created a database named access. Any suggestions would be great, I have been working on this for several hours now.
Thanks,