Contained herein are various resources to support the book I co-authored:

PHP 5 in Practice
PHP 5 in Practice

Code Listings: Browse or Download Zip File
Errata: Chapter 14 – On page 294 & 295, Listings 14.1.1 & 14.1.2 … These are some sample code showing how to use PHP to access MySQL. Unfortunately one of the column names used: desc is a reserved word in MySQL. The simplest fix is just to change all references to that column from desc, to descr. I’ve already done this on my online versions of the code: Listing 14.1.1 and Listing 14.1.2