PHP Question:
Write the PHP code to list out all of the dates of the currentmonth and assign them to their given days. As an example, for themonth of October 2020, the output should look something likethis:
October 2020Â Â Â Â Â
Monday: 5, 12, 19, 26
Tuesday: 6, 13, 20, 27
Wednesday: 7, 14, 21, 28
Thursday: 1, 8, 15, 22, 29
Friday: 2, 9, 16, 23, 30
Saturday: 3, 10, 17, 24, 31
Sunday: 4, 11, 18, 25
IMPORTANT: The code MUST use the current month,whatever the current month is at the time (so if I used this PHPcode during July of 2020, it would use all of the dates of July2020 and assign them to the proper days). Do NOTuse tables for this code.