I am using wampserver for my PHP and MySQL. I've created the tables and I have the PHP script ready and correct but it does not connect to the database.
When I use this on the report.php
$dbc = mysqli_connect('localhost', '', '', 'aliendatabase')
or die('Error connecting to MySQL server.');
I get the error in the attachment. Anyone can help.
Note: There is no username or password that's why I have empty quotes. However whenever I remove them so that I have
$dbc = mysqli_connect('localhost', '', '', 'aliendatabase')
or die('Error connecting to MySQL server.');
I get Error querying database.











