I want to get last 3 months name from current month. For example current month is August. So, I want the datas like these June, July, August. I have tried this code echo d
echo d
Simple code:
=0;$x--){ echo date('F', strtotime(date('Y-m')." -" . $x . " month")); echo ""; } ?>
Got the idea from LTroubs here.