Should we use select_db() in php?
<p>I am wondering whether we need to use <code>select_db()</code> function when we query the DB since we are already defining which table we want to use when writing the query like <code>"select * from users"</code></p>

<p>I tried without it and it worked but I don't know what kind of goodness that function offers?</p>

<pre><code>//$sau_db-&gt;select_db("users");

$query = "select * from users";

$results = $sau_db-&gt;query($query);

echo "&lt;ul&gt;";
for($i=0;$i &lt; $results-&gt;num_rows; $i++)
{   
    $row = $results-&gt;fetch_assoc();
    echo "&lt;li&gt;".$row["first_name"].' '.$row["last_name"]."&lt;/li&gt;";
}
echo "&lt;/ul&gt;";
</code></pre>
