Jump to content

Event calendar- adding blank white cells after the last date


hgkhkhk

Recommended Posts

HI there. I am really stuck with this one and would appreciate any genuine help.

 

I am creating an event calendar using with the help of a tutorial. However, what I need help with is to be able to add the necessary blank white cells after the last date of the month to fill the calendar.

 

I posted this question on stackoverflow with the code. I appreciate any help and feedback. Thank you.

 

https://stackoverflow.com/questions/46984754/event-calendar-php-how-to-create-blank-cells-after-the-last-date-of-the-month

Link to comment
Share on other sites

I have a repository (actually a couple of repositories) on creating a calendar in php at https://github.com/Strider64

 

I basically start of the premise of have 7 rows as the calendar I want to display for it will cover the previous month days (Starting with the first week of the selected month) and continuing to fill in the days as needed which more than likely will cover future month's days. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.