“Effortless E-Commerce with PHP and MySQL (2nd Edition)” Errata

Unfortunately, despite the best efforts of myself, the technical editor, the copy editor, the line editor, the proofreader, and despite the multiple revisions, errors still occur. This page lists all the errors found in the book since it went to print.

Note: errors are corrected in subsequent printings and therefore your particular copy may not contain all of the following. You may also be experiencing problems not caused by a mistake in the book. If so, you may find the solution to your problem by using the book’s corresponding forum. Significant changes in the technology will be addressed there and you can also find problems and solutions encountered by other readers.

Known Errors in the Book:

Click on a column heading to sort the table by that column.

Chapter Page # Description Date Added
3: First Site: Structure and Design 54 The foreign key in the orders table should be FOREIGN KEY (`users_id`) REFERENCES…. February 13, 2016
3: First Site: Structure and Design 77 The highlighted code between Figures 3.13 and 3.14 prints out an extra class=”. The code in the corresponding download is correct. February 13, 2016
8: Creating a Catalog 242 The first line of code in Step 4 should be echo BOX_BEGIN;. February 13, 2016
11: Site Administration 347 The code in Step 13 should use $file_ext instead of $ext. February 13, 2016
11: Site Administration 363 The query in Step 15 should use sc.size_id instead of sc.size in the final ORDER BY clause. February 13, 2016
12: Extending the First Site 417 The code in Step 13 should use $data[‘custom’] and $data[‘mc_gross’] instead of $_POST. February 13, 2016