- Code: Select all
$db = mysqli_connect('localhost','root','password','test');
$query1 = 'SELECT name, username FROM test;';
$result1 = mysqli_query($db,$query1);
I received the following error:
Table 'test.test' doesn't exist
I'm simply using the default `test` table provided by XAMPP, using `root` user with `password` for a temporary password placeholder and made no changes to the permissions or anything else.
What am I missing?