Errata #1
And we have our first Errata:
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 to the online versions of the code, so you might just want to download them here:
Updated Listing 14.1.1
Updated Listing 14.1.2
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 to the online versions of the code, so you might just want to download them here:
Updated Listing 14.1.1
Updated Listing 14.1.2