title: connect.php failing to connect
body: <p>I want a website to connect to a database with a connect.php so i created a small test in it. but it is failing only showing Database Connection Failed with no mysql error. here is the code:</p>
  
  <pre><code>&lt;?php
  $servername = "localhost";
  $username = "sqluser";
  $password = "Welkom01!";
  $dbname = "users";
  
  $connection = mysqli_connect('$servername', '$username', '$password');
  if (!$connection){
      die("Database Connection Failed". mysqli_error());
  }
  $select_db = mysqli_select_db($dbname);
  if (!$select_db){
  die("Database Selection Failed" . mysqli_error());
  }
  echo "succes";
  ?&gt;
  </code></pre>
  
  <p>could you guys help me out? thanks in advance</p>