convert string to mysql date in php code example
Example: convert date in php
$originalDate = "2010-03-21";
$newDate = date("d-m-Y", strtotime($originalDate));
$originalDate = "2010-03-21";
$newDate = date("d-m-Y", strtotime($originalDate));