title: Warning: mysqli_select_db() expects exactly 2 parameters, 1 given
body: <p>I'm doing a tutorial in which the author has not updated his content to reflect changes in the PHP documentation. Anyways, I need to know what is parameter is being asked of me to provide. I've checked that all things are in order, but I literally don't know what I'm supposed to provide. Here's what I have:</p>
  <p><strong>Connects.php</strong></p>
  <pre><code>&lt;?php
  $connect_error = 'Sorry, we\'re experiencing connection issues.';
  $con = mysqli_connect('localhost', 'root', 'PwdSQL5');
  mysqli_select_db('phpcadet') or die($connect_error);
  ?&gt;
  </code></pre>
  <p>And yet I get the error:</p>
  <blockquote>
  <p>Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:...</p>
  </blockquote>