title: The database returns only the first row instead of column
body: <p>I'm trying to obtain a column name EmailId from the table named Users. But it returns only the first string and nothing else?</p>
  
  <p>PHP:</p>
  
  <pre><code>$sql="SELECT EmailId FROM Users;";
  $result =mysqli_query($conn,$sql);
  $col=mysqli_fetch_array($result);
  </code></pre>
  
  <p>The database has 3 email-ids but <code>count($col)</code> returns only 1. Why so?</p>
  
  <p>Thanks in advance.</p>