Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 7 Example 1-2 HTML |
The input tags should have been changed to read: |
Anonymous | May 01, 2008 | |
Other Digital Version | 7 Example 1-2 HTML |
The input tags should have been changed to read: |
Anonymous | May 01, 2008 | |
Printed | Page 10 example 1-7, line 12 |
$q = $dbh->query("SELEC...); |
Anonymous | Nov 01, 2004 | |
Printed | Page 10 Example 1-7, about halfway in the code listing |
Missing () from if statement: |
Anonymous | Nov 01, 2006 | |
Printed | Page 11 5th paragraph |
"Appendix B provides the basics of SQL." |
Anonymous | Nov 01, 2004 | |
Printed | Page 23 Paragraph 1 |
"The .2 formats $price + (1 + $tax)..." |
Anonymous | Nov 01, 2004 | |
Printed | Page 32 In Exercise 5, |
The superscripts were mistakenly printed as "^1" and "^5" instead of just "1" and "5". |
Anonymous | Nov 01, 2004 | |
Printed | Page 41 3rd paragraph, 2nd sentence |
It returns a postive number if the first string is greater than the second string or a negative |
Anonymous | Nov 01, 2006 | |
Printed | Page 50 Choosing a Good Array Name |
"The first character of an array name must be a letter or number..." |
Anonymous | Sep 01, 2007 | |
Printed | Page 56 the line before the last one |
"print "Element 1 is How to Cook in Eat in Chinese"; |
Anonymous | Nov 01, 2004 | |
Printed | Page 73 last function definition (all optional arguments) half way down page |
// All optional arguments |
Anonymous | Nov 01, 2004 | |
Printed | Page 83 Code for exercise 5-3 |
The entire code example now reads: |
Anonymous | May 01, 2008 | |
Other Digital Version | 83 Code for exercise 5-3 |
The entire code example now reads: |
Anonymous | May 01, 2008 | |
Printed | Page 88 HTTP_REFERER description |
...don?t use it as your sole criteria for giving access... |
Anonymous | Sep 01, 2007 | |
Printed | Page 90 example 6-6 |
there is a missing parentheses in the 3rd line of the example, after '$_POST'. |
Anonymous | Sep 01, 2007 | |
Printed | Page 91 Example 6-7 |
Added the following text to the last paragraph on page 91: |
Anonymous | May 01, 2008 | |
Other Digital Version | 91 Example 6-7 |
Added the following text to the last paragraph on page 91: |
Anonymous | May 01, 2008 | |
Printed | Page 92 3rd line in example 6-8 |
if ($_POST['_submit_check']) { |
Anonymous | Nov 01, 2004 | |
Printed | Page 96 Example 6-11 |
if ($_POST['age'] != strval(intval($_POST['age'])) { |
Anonymous | Nov 01, 2004 | |
Printed | Page 102 line 6; again in Figure 6-4 |
The Code block after the text "...then Example 6-22 prints:" now reads: |
Anonymous | May 01, 2008 | |
Other Digital Version | 102 line 6; again in Figure 6-4 |
The Code block after the text "...then Example 6-22 prints:" now reads: |
Anonymous | May 01, 2008 | |
Printed | Page 105 Example 6-27 |
if ($selected_options[$option]) ... |
Anonymous | Nov 01, 2004 | |
Printed | Page 106 Example 6-29. Form element display helper functions |
//print a text box |
Anonymous | Nov 01, 2004 | |
Printed | Page 106 Example 6-29 -Last function listed on page |
In the example, the line |
Anonymous | May 01, 2008 | |
Other Digital Version | 106 Example 6-29 -Last function listed on page |
In the example, the line |
Anonymous | May 01, 2008 | |
Printed | Page 115 paragraph 5 |
"...the group of values for on particular dish..." |
Anonymous | Nov 01, 2004 | |
Printed | Page 116 First paragraph |
At end of first line, "int his" NOW READS "in this" |
Anonymous | Nov 01, 2004 | |
Printed | Page 125 Code comment in Example 7-22 |
//Decrease the price some some dishes |
Anonymous | Sep 01, 2007 | |
Printed | Page 130 Example 7-30 |
The code: |
Anonymous | May 01, 2008 | |
Printed | Page 161 first code sample |
ini_set('session.gc_maxlifetime',600'); // 600 seconds = = ten minutes |
Anonymous | May 01, 2008 | |
Other Digital Version | 161 first code sample |
ini_set('session.gc_maxlifetime',600'); // 600 seconds = = ten minutes |
Anonymous | May 01, 2008 | |
Printed | Page 186 5th paragraph |
"If the submitted month is 10 and the submitted year is 2004, the call to mktime() is mktime(0, 0, 0, 11, 1, 2005):..." |
Anonymous | Nov 01, 2006 | |
Printed | Page 187-188 both if ($_POST['_submit_check']) statements in Example 9-17. |
Each instance of |
Anonymous | May 01, 2008 | |
Other Digital Version | 187-188 both if ($_POST['_submit_check']) statements in Example 9-17. |
Each instance of |
Anonymous | May 01, 2008 | |
Printed | Page 194 Example 10-1, line 3 |
The line |
Anonymous | Sep 01, 2007 | |
Printed | Page 214 3rd paragraph |
"sets $element_name to the name of an child" |
Anonymous | Nov 01, 2004 | |
Printed | Page 249 paragraph below the heading "Advanced Math" |
The two superscripts were mistakenly printed as "^308" instead of just "308" |
Anonymous | Nov 01, 2004 | |
Printed | Page 283 Table B-2, |
In the last row of Table B-2, the third Column ("Matches"), it now reads: |
Anonymous | May 01, 2008 | |
Other Digital Version | 283 Table B-2, |
In the last row of Table B-2, the third Column ("Matches"), it now reads: |
Anonymous | May 01, 2008 | |
Printed | Page 292 Example B-8, last line of the example |
'1 at 2', $members); |
Anonymous | Nov 01, 2004 |