title: SQL query doesn't get values
body: <p>The SQL query returns just Array in the browser even if there is values in the database. I have tried the query in phpmyadmin and it works but not in my php document. </p>
  
  <pre><code>require_once('connect.php');
  
  $query = "SELECT `id` FROM `questions` WHERE round='1' AND year='2016'";
  $sql = mysqli_query($dbconnect, $query);
  
  $row = mysqli_fetch_array($sql, MYSQLI_ASSOC);
  </code></pre>
  
  <p>Almost the same query works in different php documents. Any suggestions what is wrong? Should also say that the query should return integers.</p>