title: Sending date to database with php
body: <p>Hi guys I was wondering if you could help me if the folliwng:</p>
  
  <p>I have a calendar that inserts dates in hidden fields like this:     </p>
  
  <pre><code>    &lt;input name="selDay_start1" type="hidden" id="selDay_start1" /&gt;
      &lt;input name="selMonth_start1" type="hidden" id="selMonth_start1" /&gt;
      &lt;input name="selYear_start1" type="hidden" id="selYear_start1" /&gt;
      &lt;input name="selDay_end1" type="hidden" id="selDay_end1" /&gt;
      &lt;input name="selMonth_end1" type="hidden" id="selMonth_end1" /&gt;
      &lt;input name="selYear_end1" type="hidden" id="selYear_end1" /&gt;
  </code></pre>
  
  <p>I need to get informations for the first 3 (start date) and combine them in a date to be inserted in a mysql table. The same thing for the next 3 (end date). Does anyone know how to combine those date in the form of yyyy/mm/dd? Many thanks for any help Francesco</p>