So I’m working on a project where I have to put together a calendar feature that will eventually hold various tasks. So after a looking around the Internet, I found this Simple PHP Calendar to help me get the ball rolling. For the record, I don’t love the code provided here, but it was really easy to follow and there were some areas where I could improve the code. So yes, I’m going to show you some of the code that I lifted (and edited slightly) from mentioned blog post, plus I’ll show you the jQuery/JavaScript code I wrote to switch between months. I’ll try and explain as best I can from start to finish. And please, if you have any further improvements to my code, let me know in the comments. I’m not going to cover any ajax stuff in this post, but I’m thinking maybe I will follow up with it in a part 2 eventually.
read more…


