
<?php /* Online PHP Examples with Source Code website: http://4evertutorials.blogspot.in/ */ $day = date('j'); //what day is it today $month = date('n'); //what month are we in? $year = date('Y'); //what year are we in? //get the first first day of the month $first_day_of_month = date('w',mktime(1,1,1,$month,1,$year)); $days_in_month = date('t');...