I'm having a problem with my mysqli
code, error is here:
Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\account\login\auth.php on line 3
Here is my code in auth.php
$db = mysqli_connect('localhost', 'root', '', 'tc');
mysqli_select_db($db) or die(mysqli_error($db));