function tarihDuzenle($tarih) { $tarih=array_reverse(explode('-',$tarih)); $tarih=implode('-',$tarih);return $tarih; }