title: How to skip foreach if same value?
body: <p>I have loop value with code</p>
  
  <pre><code>foreach($season  as $seasons){  
  echo  $seasons-&gt;Combined_season ; 
     } 
  </code></pre>
  
  <p>and the result is 0000000011111111111111111111111222222222222222222222223333333333333333333333344444444444444444444444555555555 </p>
  
  <p>How to skip if there same values?
  I want the result is
  012345</p>