title: Can't get data from database using mysqli
body: <p>I have got this code</p>
  
  <pre><code>$dafirstname = "SELECT fullname FROM websiteusers WHERE userName='$usernamer'";
  $differentvariables = mysqli_query($link, $dafirstname);
  $row = mysqli_fetch_array($differentvariables, MYSQLI_ASSOC);
  printf("%s (%s)\n", $row["pass"], $row["userID"]);
  
  if(!mysqli_query($link,$dafirstname)){
    echo mysqli_error($link);     
  }
  </code></pre>
  
  <p>But it does not print any thing or it is not giving any errors</p>