title: PHP unique array by value?
body: <p>I have an array in PHP that looks like this:</p>
  
  <pre><code>  [0]=&gt;
         array(2) {
             ["name"]=&gt;
                string(9) "My_item"
             ["url"]=&gt;
                string(24) "http://www.my-url.com/"
         }
    [1]=&gt;
       array(2) {
           ["name"]=&gt;
               string(9) "My_item"
           ["url"]=&gt;
              string(24) "http://www.my-url2.com/"
       }
  </code></pre>
  
  <p>The two values in "name" are the same in this two items. I want to sort out duplicates like this.</p>
  
  <p>How do I create an unique array by checking the "name" value?</p>