title: PHP Date String Format
body: <p>I have a string mm-dd-yyyy which i get from a form, which i want to store it in the database of the data-type DATE (yyyy-mm-dd). </p>
  
  <p>How do i format the string and save it in the database ?</p>