title: using implode to combine multiple select
body: <p>I have a php page like  this :</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;form method="post" action="catch_combo.php"&gt;
              &lt;select name="selr[]" multiple&gt;
                  &lt;option value="1"&gt;1&lt;/option&gt;
                  &lt;option value="2"&gt;2&lt;/option&gt;
                  &lt;option value="3"&gt;3&lt;/option&gt;
                  &lt;option value="4"&gt;4&lt;/option&gt;
                  &lt;option value="5"&gt;5&lt;/option&gt;
              &lt;/select&gt;
              &lt;input type="submit"&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I am trying to catch the selected values in catch_combo.php which looks like this:</p>
  
  <pre><code>&lt;?php
  $two;
      if(isset($_REQUEST['selr']))
          {
          $one=$_POST['selr'];
          foreach ($one as $a) 
          {
          $two = implode(",", $a);
          }
          echo $two;
          }
          ?&gt;
  </code></pre>
  
  <p>When I run this it says </p>
  
  <p>'Invalid arguments passed for implode' I am missing something?</p>