O'Reilly logo

PHP 5 Advanced: Visual QuickPro Guide by Larry Ullman

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

3. Advanced Database Concepts

I had many goals in writing this second edition of my PHP Advanced book. The primary aim is to demonstrate what I consider to be “advanced” PHP programming: doing the things you already do but better, doing things tangentially related to PHP, and taking advantage of aspects of the language with which the average user may not be familiar. A second goal is to help solve some of the problems often put forth (to me or otherwise) in emails, forums, and newsgroups. This chapter addresses both goals equally.

For the first example, you’ll see how to use a database to store session data. Doing so offers many advantages, improved security being at the forefront. Next, a thorough discussion on how to work with U.S. zip codes, ...

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