O'Reilly logo

Sams Teach Yourself PHP, MySQL by Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Creating a Simple Calendar

This chapter will pull together the skills 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 10, “Working with Strings, Dates, and Time,” to build a calendar that displays 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 1990 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required