- Book Home :
- Table of Contents :
- Downloads :
- Errata :
- Forum :
PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)-->Errata
Unfortunately, despite the best efforts of myself, the technical editor, the copy editor, and the line editor, despite the multiple revisions, errors still occur. This page lists all the errors found in the book.
Note: errors are corrected in subsequent printings and therefore your particular copy may not contain all of the following.
You may also find the solution to your problem by using the book's corresponding forum. Signficant 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:
| Chapter | Page # | Description | Date Added |
| 1: Introduction to PHP | 6 | The first word in the last paragraph in th e sidebar should be "An" not "As". | February 18, 2008 |
| 1: Introduction to PHP | 14 | In the second bullet point, it should say that a variable's name can contain a combination of letters, numbers, and the underscore. | February 18, 2008 |
| 1: Introduction to PHP | 28 | In the code in Step 2, an apostrophe is missing. The code should be: define ('TODAY', 'August 28, 2007'); The code in the corresponding script is correct. |
January 26, 2008 |
| 1: Introduction to PHP | 30 | On line five, it should say ...examples used so far.... | May 19, 2008 |
| 2: Programming with PHP | 34 | In the URL in the sidebar, there's an extraneous space between "script." and "php?". | February 18, 2008 |
| 2: Programming with PHP | 61 | The last line of code in the right-hand column should refer to "Primes" plural: {$numbers['Primes'][0]}. | May 19, 2008 |
| 2: Programming with PHP | 65 | The last paragraph of the sidebar should refer to the $s2 variable, not $string2. | February 18, 2008 |
| 3: Creating Dynamic Web Sites | 85 | In the paragraph under Step 2, the last sentence should start This variable will correlate.... | July 09, 2008 |
| 3: Creating Dynamic Web Sites | 89 | In the code at the end of the left-hand column, there's an extra closing parentheses after ($gender == 'F'). | January 26, 2008 |
| 3: Creating Dynamic Web Sites | 89 | In the right-hand column, the second word of the second paragraph (not including the code) should be "here", not "hear". | January 26, 2008 |
| 3: Creating Dynamic Web Sites | 98 | The last paragraph before the numbered steps should say there's no way to pass $msg a value. | April 15, 2008 |
| 4: Introduction to MySQL | 118 | There should not be a space between the hyphen and the letter "u" in the first bullet. | May 19, 2008 |
| 5: Introduction to SQL | 137 | The SQL command in the second tip should end with WHERE last_name LIKE '_smith%'. | February 18, 2008 |
| 5: Introduction to SQL | 146 | The last sentence of the first paragraph should read ...MySQL functions in other types.... | July 09, 2008 |
| 5: Introduction to SQL | 147 | In Table 5.2, the Usage value for the second item should begin as "CONCAT_WS(...". | February 18, 2008 |
| 5: Introduction to SQL | 147 | In Table 5.2, the Returns value for the last item should say that the string indexing begins at 1, not 0. | February 18, 2008 |
| 6: Advanced SQL and MySQL | 179 | The last sentence in Step 2 should say that "An outer join is used...". | February 18, 2008 |
| 7: Error Handling and Debugging | 207 | The code in Step 1 omits the <h2>Testing Display Errors</h2> that is in the corresponding script. | April 15, 2008 |
| 8: Using PHP with MySQL | 224 | In Script 8.1, the opening HEAD tag on line 3 erroneously has a quotation mark. | July 09, 2008 |
| 8: Using PHP with MySQL | 236 | The first line of code in Step 9 should read mysqli_close($dbc);. The corresponding script is correct. | April 15, 2008 |
| 8: Using PHP with MySQL | 252 | Line 18 of Script 8.7 should begin with $e = .... The corresponding code in Step 4 on page 253 is correct. | January 26, 2008 |
| 9: Common Programming Techniques | 266 | The header in Figure 9.3 should be "Delete a User". | May 19, 2008 |
| 9: Common Programming Techniques | 275 | The first line of code under Step 12 should refer to MYSQLI_NUM (all in uppercase). The corresponding script is correct. | April 15, 2008 |
| 9: Common Programming Techniques | 281 | On lines 9 and 10 of the first paragraph under step 6, it should say The second page would show records 10 through 19; the third, 20 through 29; and so forth. | May 19, 2008 |
| 10: Web Application Development | 309 | Line 24 of Script 10.3 inadvertently include 'image/jpeg' twice. This also applies to the code in Step 3 on page 310. | April 15, 2008 |
| 10: Web Application Development | 311 | The echo statement in Step 5 should just read echo '<p class="error">Please upload a JPEG or PNG image.</p>'; . The code in the corresponding script is correct. | April 15, 2008 |
| 10: Web Application Development | 324 | The second-to-last line of text should refer to the $name variable not the $name function. | April 15, 2008 |
| 11: Cookies and Sessions | 357 | In the paragraph that begins Another change you..., the word "the" is repeated. | April 15, 2008 |
| 11: Cookies and Sessions | 359 | Line 9 of Script 11.13 and the corresponding code in Step 5 needs one more closing parentheses. | February 18, 2008 |
| 16: Example--User Registration | 491 | Line 21 of Script 16.3 should end with a slash after www.example.com. | July 09, 2008 |
| 16: Example--User Registration | 509 | On line 13 of Script 16.7, and on line 8 of the code in Step 2, there's a closing parentheses missing. The correct line should be if (isset($_GET['y']) && (strlen($_GET['y']) == 32) ) { |
January 26, 2008 |
| 16: Example--User Registration | 555 | The code in step 5 is actually a repetition of the last two lines of code in step 4. | May 19, 2008 |
| Click here to view the errata in the order they were submitted. Click here to view the most recent errors first. Click here to view the errata by page number. |
|||
Submit an Error:

Temporary Site Outage
After performing some routine maintenance, the DMC Insights, Inc. server will need to be rebooted on Friday, July 11, 2008, between 4:00am and 7:00am EST. The Web site should be unavailable for no more than 15 minutes. I apologize for any inconvenience.(July 9, 2008)
Newsletter #14 Released
I just sent out the latest version of the newsletter. It covers a bunch of different things, with some early thoughts on the Ruby programming language. You can read it online at www.DMCInsights.com/newsletter.php.(July 9, 2008)
Adobe AIR: VQS Chapter Available Online
Peachpit Press, has posted part of Chapter 2, "Creating an Application," from the book "Adobe AIR (Adobe Integrated Runtime) with Ajax: Visual QuickStart Guide" on their Web site. The pages discuss some of the basic technologies and how they can be used together in an AIR application. The direct URL is http://www.peachpit.com/articles/article.aspx?p=1211888.(July 2, 2008)
