title: PHP Reverse the order of results from MySQL DB
body: <p>I want to reverse the order of the array.</p>
  
  <p>My code:</p>
  
  <pre><code>$result = mysql_query("SELECT * FROM notfi1 WHERE Own='" .$_GET['u']. "'");
  while($row = mysql_fetch_array($result))
    {
    echo 'link:&lt;a href=member.php?u=' .$row['UserId']. '&gt;text&lt;/a&gt;&lt;br&gt;';
    }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;a href=member.php?u=name8&gt;text&lt;/a&gt;
  &lt;a href=member.php?u=name9&gt;text&lt;/a&gt;
  &lt;a href=member.php?u=name10&gt;text&lt;/a&gt;
  </code></pre>
  
  <p>and I want to reverse it:</p>
  
  <pre><code>&lt;a href=member.php?u=name10&gt;text&lt;/a&gt;
  &lt;a href=member.php?u=name9&gt;text&lt;/a&gt;
  &lt;a href=member.php?u=name8&gt;text&lt;/a&gt;
  </code></pre>