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