PHP Solutions: Dynamic Web Design Made Easy, Second Edition

PHP Solutions book coverThe second edition of PHP Solutions: Dynamic Web Design Made Easy is a major rewrite of a book that has helped thousands of web designers add dynamic features to their websites using PHP, the most popular server-side technology. All the code has been revised to bring it in line with the latest best practices, using PHP 5.2 and 5.3. The book assumes no previous knowledge of PHP; but instead of wading through endless exercises with little or no practical value, you put PHP to work straight away through projects such as creating a navigation menu that is automatically updated in every page of a site just by editing a single file. Step-by-step instructions tell you not only what to do, but also explain why, making it easier to adapt the code to suit your own needs.

What you'll learn

The second edition of PHP Solutions covers the following topics:

For newcomers to PHP—and those who feel in need of a refresher—Chapter 3 acts as a crash course in PHP basics. The first half of the chapter gives a high level overview of what you need to know before starting to handle PHP code. The second half goes into more detail, and is intended as a handy reference when you're not sure how a particular feature works.

The second edition of PHP Solutions requires a minimum of PHP 5.2 and MySQL 4.1.

Each chapter builds on the knowledge gained from the previous one. If you read them in sequence, by the end of the book you'll have a solid grounding in PHP and MySQL. Readers with previous experience of PHP and MySQL can pick and choose the projects that interest them most.

Looking for the download files?

Since the book was published, the friends of ED website has been merged with the site of its parent company, Apress. You can download the files from the book's page on the merged site.

What has changed since the first edition?

The new edition of PHP Solutions follows the same structure as the original version, and most of the projects are the same. However, every chapter has been thoroughly revised. In some cases, little remains of the original apart from the title. For example, the code in Chapters 6 (file uploads) and 8 (generating thumbnail images) has been refactored as PHP 5 classes. Chapter 9 (user registration) contains a custom class to check password strengths. Chapter 14 has been expanded to give extensive coverage to the powerful date and time zone classes introduced in PHP 5.2 and 5.3. As a result, coverage of working with multiple database tables and foreign keys has been moved into two new chapters. The new Chapter 16 explains how to use foreign key constraints with InnoDB, the default storage engine in MySQL 5.5.


Corrections to the Second Edition

Updates and Corrections to the First Edition

Other Books & Videos by David Powers

PHP for Web Designers

Beginning CSS3

Dreamweaver CS6: Learn by Video

Introducing PHP

HTML5, CSS3, and jQuery with Adobe Dreamweaver CS5.5: Learn by Video

Adobe Dreamweaver CS5.5 Studio Techniques: Designing and Developing for Mobile with jQuery, HTML5, and CSS3

Adobe Dreamweaver CS5 with PHP: Training from the Source

PHP Object-Oriented Solutions

Buy from one of these online stores

Free 7-day trial

Books & Videos by David Powers

Beginning CSS3Dreamweaver CS6: Learn by VideoDreamweaver CS5.5: Learn by VideoDreamweaver CS5.5 for MobilePHP SolutionsDreamweaver CS5 with PHP