title: Issue with mysql fetch array
body: <p>I am using below code to loop records and display the Country value. If there are duplicate values they are all listed like Australia, Australia, United States, United States, United States. How can I remove any duplicates and just show Australia, United States? I cant use DISTINCT in mysql_query as I need to use an existing mysql_query.  Thanks</p>
  
  <pre><code>&lt;?php
  while($row = mysql_fetch_array($result)) {
     echo $row['Country'];
  }
  
  ?&gt;
  </code></pre>
  
  <p>I cant use DISTINCT in mysql_query as I need to use an existing mysql_query.</p>
  
  <p>I am using </p>
  
  <pre><code>$result = mysql_query("SELECT * FROM specials WHERE expiry &gt; CURDATE() ORDER BY Country;") or die(mysql_error());
  </code></pre>