Error when using mysqli_select_db and mysqli_connect
<p>Because mysql_* functions arn't gong to be supported anymore, i'm switching to mysqli_*. But, when I try to connect to my database, I get an error. Here is my code.</p>

<pre><code>&lt;?php

//ob
//ob_start();

//session
session_start();

//connect to database
$error = "Could not connect to database";
mysqli_connect('','************','**********') or die($error);
mysqli_select_db('********************') or die($error);

$session_username = $_SESSION['username'];
$session_coin = $_SESSION['coins'];

?&gt;
</code></pre>

<p>Error: <code>Could not connect to database</code></p>

<p>Is that correct when trying to use mysqli?</p>
