title: Array posting in PHP
body: <p>I am trying to post an array full of checkboxes and to open it in the next page..</p>
  
  <p>It only gives me the last result, anyone know why? or how to fix it?</p>
  
  <pre><code>&lt;form name="input" action="createevent.php" method="post"&gt;
  
  Event title: 
  &lt;input type="text" name="Eventtitle" size="20"&gt;
  &lt;br&gt;Event Description 
  &lt;input type="text" name="Description" size="20"&gt;
  &lt;br&gt;
  Please select the days that you are free to arrange this meeting.&lt;br&gt;
  Monday
  &lt;input type="checkbox" name="day" value="Monday" /&gt;
  &lt;br /&gt;
  Tuesday
  &lt;input type="checkbox" name="day" value="Tuesday" /&gt;
  &lt;br /&gt;
  Wednesday
  &lt;input type="checkbox" name="day" value="Wednesday" /&gt;
  &lt;br /&gt;
  Thursday
  &lt;input type="checkbox" name="day" value="Thursday" /&gt;
  &lt;br /&gt;
  Friday
  &lt;input type="checkbox" name="day" value="Friday" /&gt;
  &lt;br /&gt;
  Saturday
  &lt;input type="checkbox" name="day" value="Saturday" /&gt;
  &lt;br /&gt;
  Sunday
  &lt;input type="checkbox" name="day" value="Sunday" /&gt;
  &lt;br /&gt;&lt;br /&gt;
  &lt;input type="submit" value="Submit"&gt;
  </code></pre>
  
  <p>and no matter how many you select it only gives a single result on the next page.
  $day = sizeof($_POST['day']);</p>
  
  <p>only ever gives '1' answer. And when I get them to the next page I will want to be able to select them separately.</p>
  
  <p>Thanks!</p>