here's something that confuse me, the code is the same but this got this undefined offset, and here's the code :
<?php
$day = array("Sunday" => "Minggu",
"Monday" => "Senin",
"Tuesday" => "Selasa",
"Wednesday" => "Rabu",
"Thursday" => "Kamis",
"Friday" => "Jumat",
"Saturday" => "Sabtu");
$elemen = date(1);
echo("Today is : $day[$elemen]");
?>
the code is the same on my friend but mine show this undefined offset, but him show Today is bla bla without any error. looking forward for the hint. thanks i really appreciate it..