title: How to echo full list of rows in php mysql using while loops but outside the loop
body: <p>Hello please help me is this code this code only show me last row of loop not full.</p>
  
  <pre><code>$sql = mysql_query("SELECT hash FROM users");
  while($row=mysql_fetch_assoc($sql)) {
      $url = $row["hash"]."&lt;br /&gt;";
  
  }
  </code></pre>
  
  <blockquote>
    <p>5b50373f0dbd8ab7fe888060257967f2e0adcbdb</p>
  </blockquote>
  
  <p>but full list is:</p>
  
  <blockquote>
    <p>a065e7094234b1c836f9829ca9185a36132ff76f
    5b50373f0dbd8ab7fe888060257967f2e0adcbdb</p>
  </blockquote>
  
  <p>pleas help me </p>