I have to get the last month is simple 1,2,3 format, but I cannot get to it:/
This would work, however, NOT if you want to get the rusult 12, like this month the last months'number is 12, not 0.
PHP Code:
$lastmonth = date("n")-1;



Comment