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 9. Working with Objects

Programmers use objects to store and organize data. Object-oriented programming structures found in many programming languages are also evident in PHP. However, in PHP, it is not required that you write your scripts in an object-oriented manner. Many PHP scripts, in fact most of the ones you will find in this book, are procedural rather than object-oriented. If you are coming to PHP with a background in object-oriented programming, this chapter will help you to understand the object model in PHP. If you are altogether new to programming, it’s important to understand the basics of object-oriented programming, but you might want to gain experience in procedural programming and the fundamentals of the PHP language ...

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