title: Filter double data value to 1 only
body: <p>I want to filter same value on field to only one. the code look like this.</p>
  
  <p></p>
  
  <p>I have 4 fields: <strong>id</strong>, <strong>alphabet</strong>, <strong>user</strong>, <strong>message</strong> with data:</p>
  
  <pre><code>id   alphabet    user    message 
  -------------------------------------
   1   A           Ant     how are you?
   2   A           Ant     I'm fine.
   3   A           Atelier hehe.
   4   A           Atelier hoho.
  </code></pre>
  
  <p><strong>Query</strong></p>
  
  <pre><code>$a = "SELECT user FROM database WHERE alphabet = 'A'";
  
  $b = mysql_query($a);
  
  $c=mysql_num_rows($b);
  
  for ($d=0; $d &lt; $c; ++$d)
  {
      $e[]=mysql_fetch_array($b);
      echo $e[$d][0].'&lt;br&gt;';
  }
  </code></pre>
  
  <p>With above code it dump all user value that match <strong>A</strong> how make it <strong>2</strong> data with same it just show <strong>1</strong> like this. <strong>ant</strong> <strong>atelier</strong> only instead <strong><em>ant ant atelier atelier</em></strong>?</p>