title: Warning: mysqli_connect() [function.mysqli-connect]: (28000/1045): Access denied for user 'root'@'localhost' (using password: YES)
body: <p>I get this message if i run my register.</p>
  
  <pre><code>&lt;?php
  $connection = mysqli_connect('localhost', 'root', 'user'); 
  if (!$connection){
      die("Database Connection Failed" . mysqli_error($connection));
  }
  $select_db = mysqli_select_db($connection, 'test');
  if (!$select_db){
      die("Database Selection Failed" . mysqli_error($connection)); 
  }
  ?&gt;
  </code></pre>