My College Fund

STR 2

$str1 = "820718-08-5805";
$arr1 = explode("-",$str1);
foreach ($arr1 as $val){
echo $val . "
";
}
echo "
No Kad Pengenalan anda :". $str1;
$hari = substr($str1, 4, 2);
$bulan = substr($str1, 2, 2);
$tahun = substr($str1, 0, 2);
echo "
Tarikh Lahir anda : $hari/$bulan/19".$tahun;
?>

Tiada ulasan:

Catat Ulasan

Related Posts Plugin for WordPress, Blogger...