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