i want to echo cMonth in spanish.. i was trying differents things without result. any idea?
if($_REQUEST["month"]>0){
$cMonth = "0".intval($_REQUEST["month"]);
if ($_REQUEST["month"]>9) {
$cMonth = intval($_REQUEST["month"]);
}
$cYear = intval($_REQUEST["year"]);
}else
{
$cMonth = date("m");
$cYear = date("Y");
}
echo date("F, Y",strtotime($cYear."-".$cMonth."-01"));
Hi You can use this methode Just