list bulan php

38

$bulan=array("Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember");
$jlh_bln=count($bulan);
for($c=0; $c<$jlh_bln; $c+=1){
    echo"<option value=$bulan[$c]> $bulan[$c] </option>";
}
for ($a=2012;$a<=$now;$a++)
{
     echo "<option value='$a'>$a</option>";
}

Comments

Submit
0 Comments