<?php $rec['birthday']= "11"; $dates = explode("/",$rec['birthday']); if(!isset($dates[2])) $dates[2] = "0000"; $newdate = $dates[0]."-".$dates[1]."-".$dates[2]; echo $newdate;
You have javascript disabled. You will not be able to edit any code.