Chapter 23. Creating a Simple Calendar
This chapter will pull together the lessons you’ve learned so far regarding the PHP language and building small applications. In this chapter, you’ll continue your learning in the context of creating a small calendar.
In this chapter, you will learn
How to build a simple calendar script
How to view and add events in your calendar
How to build a class library to generate date pull-downs in HTML forms
Building a Simple Display Calendar
You’ll use the date and time functions you learned in Chapter 9, “Working with Strings, Dates, and Times,” to build a calendar that will display the dates for any month between 1980 and 2010 (those are randomly selected years and have no significance—you can make your calendar go from ...
Get Sams Teach Yourself PHP, MySQL® and Apache All in One, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.