<?php $str = "12-04-2013"; $s1 = strtok($str,"-"); $s2 = strtok($a1,"-"); $s3 = strtok($s2,"\n"); echo ("$s1 $s2 $s3"); ?>
You have javascript disabled. You will not be able to edit any code.