Jump to content
Sign in to follow this  
hgkhkhk

Event calendar- adding blank white cells after the last date

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

Share this post


Link to post
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. 

Edited by Gandalf64

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • 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.