title: How to properly pass an array from a select form to another PHP page
body: <p>Let me explain further.  I have a select form on my first php page (lets call this page first.php). I do have a submit button. I am catching the array on the second page (lets cal this page sec.php) with $_POST and then setting it to a PHP variable. However, I can not get it to print. Here's what my code/mark up looks like on first.php</p>
  
  <pre><code>&lt;label&gt;Product:&lt;/label&gt;
      &lt;select name="arr[]"&gt;
          &lt;option value="Mobile"&gt;Mobile&lt;/option&gt;
          &lt;option value="Social"&gt;Social&lt;/option&gt;
          &lt;option value="Online"&gt;Online&lt;/option&gt;
      &lt;/select&gt;
  </code></pre>
  
  <p>Note = I know I don't need to have an array for this. But I want to keep it this way. </p>
  
  <p>Here's what my code looks like on sec.php:</p>
  
  <pre><code>&lt;?php
      $arr= $_POST['arr'];
  ?&gt;
  </code></pre>
  
  <p>I want it to print in this HTML table:</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td width="200"&gt; &lt;?php echo $url[0]; ?&gt;&lt;/td&gt;
      &lt;td width="200"&gt; &lt;?php echo $sMonth[0] . "/" . $sDay[0] . "/" . $sYear[0]; ?&gt;&lt;/td&gt;
      &lt;td width="200"&gt; &lt;?php echo $eMonth[0] . "/" . $eDay[0] . "/" . $eYear[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $tBudget[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $dBudget[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $model[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $bid[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $target[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $status[0]; ?&gt;&lt;/td&gt;
      &lt;td width="200"&gt; &lt;?php echo $arr[0]; ?&gt;&lt;/td&gt;
      &lt;td&gt; &lt;?php echo $tUnits[0]; ?&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>NOTE = all other variables and values print just FINE (by using the same method and concept as the $arr variable) But ONLY the $arr variable is unable to print). </p>
  
  <p>What am I doing wrong?</p>