title: How to get multiple items from <select> with PHP?
body: <p>I'm building a theme options page for my WordPress theme and I would like to have a functionality to select multiple items from a list.</p>
  
  <p>The "one option" select code I use looks like this: <a href="http://pastie.org/684800" rel="nofollow noreferrer">http://pastie.org/684800</a> and it works perfectly.</p>
  
  <p>I'm a PHP newbie so I tried to modify the above code to achieve the result I want. Here's what I came up with: pastie.org/684804. As you can see, I basically added a some html values <code>multiple="yes"</code> hoping it will work ;)</p>
  
  <p>The code displays the select item properly, but seems to only save the last selected one. Could someone please give some advice on how to achieve saving multiple chosen items?</p>