I am now getting this error Catchable fatal error: Object of class mysqli could not be converted to string in /home/nebulafiles/public_html/testlog.php on line 11
<?phperror_reporting(-1);ini_set('display_errors',1);
$host = "localhost";
$username= "nebulafi_syst3m";
$password = "Kuxx#Hd6u9gC";
$db_name = "nebulafi_syst3m";
$connect = mysqli_connect("$host", "$username", "$password")or die("Connection Failed.");
$selectdb = mysqli_select_db("$db_name", "$connect")or die("DB Not Found.");
?>
<html>
<h1>LOGIN</h1>
<form action='' method='POST'>
<table>
<tr>
<td>
<b>Username:</b>
</td>
<td>
<input type='text' name='username' placeholder='Enter your username'>
</td>
</tr>
<tr>
<td>
<b>Password:</b>
</td>
<td>
<input type='password' name='password' placeholder='Enter your password'>
</td>
<td>
<input type='submit' value='login' name='submit'>
</td>
</tr>
</form>
</html>