Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Printed | Page Page 11 Paragraph that begins "It's also good practice..." |
("Instead of <b>bold<i> italic</i></b>, you should close the code like this: </b></i>.) In other words, you should open and close items at the same level. So, if you open a bold and then italic, you should close the italic before you close the bold." |
Anonymous | Jul 31, 2008 |
Printed | Page 3 Paragraph that falls under "PHP and MySQL have community support" |
"Both tools active communities on the Web...." |
Anonymous | Jul 31, 2008 |
Printed | Page 16 4th paragraph (step 1) |
The position where to download, the name and the FORMAT of the file to download is not updated. Apache |
Anonymous | |
Printed | Page 33 1st paragraph starts with "6. Verify that ..." (This is in Chapter 2: Installation) |
php_mysql.dll should be php_mysli.dll |
Anonymous | |
Printed | Page 57 Example 3-22 |
Example 3-22 PHP mathematical function usage |
Joe Mussi | Apr 23, 2009 |
Printed | Page 69 Top of the page |
the first line under the Associativity heading, says "All operators process their operators in a certain direction", operators being used twice. |
Anonymous | Nov 01, 2008 |
Printed | Page 82 Bottom Paragraph |
Code in the book: |
Drupal Meister | Jul 05, 2009 |
Printed | Page 91 Example 5-5 |
Example 5-5 contains the line: |
Anonymous | Nov 01, 2008 |
Printed | Page 97 Bottom Paragraph |
The function used to instantiate a class is __construct() and not __constructor() |
Drupal Meister | Jul 05, 2009 |
Page 107 Last paragraph |
Current text says "Numeric arrays use numbers as their indexes, while associative arrays use stings." The last word should be "strings". |
Anonymous | Aug 18, 2008 | |
Printed | Page 117 Bottom Paragraph |
There is no PHP function expand(), instead the same extract() mentioned earlier is used with some additional parameters. |
Drupal Meister | Jul 05, 2009 |
Printed | Page 126 5th paragraph |
The line reads "Assuming you've done everything correctly, you'll be set up with new data, and it will be selected for use." |
Anonymous | Nov 04, 2008 |
Printed | Page 133 3rd paragraph, beginning "Example 7-1" |
The line reads, "Example 7-1 creates the book table using the data types from Table 7-8." |
Anonymous | |
Printed | Page 138 3rd last paragraph |
the given syntax of the select statement is: SELECT columns FROM tables [WHERE CLAUSE]; [ORDER BY CLAUSE]; |
Anonymous | Nov 05, 2008 |
Page 140 Last two lines |
FROM: |
Anonymous | Nov 16, 2009 | |
Printed | Page 141 1st paragraph |
the first paragraph of page 141 reads "To create a query that lists the purchases, author, and pages, enter the following SELECT statement: |
Anonymous | Nov 05, 2008 |
Page 159 First paragraph |
The second sentence of the first paragraph reads "Notice that two % signs were used to surround the b, "&b&"." |
Anonymous | Aug 22, 2008 | |
Printed | Page 184 Bottom |
In the book you write that extension_dir = "C:/PHP/ext/" would change the extension to inclue the directory to C:/php, while it would actually include the C:/php/ext |
Drupal Meister | Jul 08, 2009 |
Printed | Page 192 Throughout |
The book uses the Pear module "DB." The examples provided didn't work for me in PHP 5; a little research |
Anonymous | |
Printed | Page 201 Example 10-2 code |
The code shown produces the PHP error |
Anonymous | Dec 01, 2008 |
Printed | Page 211 Duplicate code |
Example 10-6 and Example 10-7 are the same code. 10-7 should be code to validate text, and not a specific set of options. |
Drupal Meister | Jul 08, 2009 |
Printed | Page 213 Example 10-9 |
Has anyone got this example 10-9 to work properly??? |
Anonymous | Jun 13, 2011 |
Other Digital Version | 214 line number 46 |
echo 'selected="selected"'; |
Easy Surf | Jun 13, 2009 |
Printed | Page 216 In the middle |
In the code, you are pulling building a table with three columns: Title, Author and Pages. But when you fetch the row you are displaying row[1] row[3] and row[2] respectively, which correspond to Pages, Author and author_id, definitely what we wanted. |
Drupal Meister | Jul 08, 2009 |
Printed | Page 220 1st paragraph, example 10-11 |
Code for myapp/smarty.php as printed does not work, I have found that the following amended version works:- |
PeterHe | Feb 03, 2009 |
Printed | Page 220 Page 220 Example 10-11 |
Apart from errors already spotted I cannot get this piece of code to work. |
Kevin Harbird | Sep 28, 2011 |
Printed | Page 229 Bottom Paragraph |
Last paragraph on page says that sprintf works exactly as print, while you actually need to say that it works exactly like printf and not just print. |
Drupal Meister | Jul 08, 2009 |
249 Ex 11-29 |
To get the output as displayed in figure 11-23, the <pre> tags should be placed within the while statement: |
Anonymous | May 18, 2009 | |
249 ex 11-29 |
Or the pre tags can be maintained as they are, and a new line added after $output thus: |
Anonymous | May 18, 2009 | |
Printed | Page 379 bottom of page; |
In Solution to Question 4-13, the loop modification expression contains the HTML entity version(−) of the minus signs (-). |
Anonymous | Nov 01, 2008 |
Page 379 Solution to question 4-8 |
Question 4-8 states "What type of operand is an Array Index?" |
Anonymous | Feb 23, 2013 | |
Printed | Page 381 top of the page |
the second part to solution to Question 6-2 is missing a single quote after January. |
Anonymous | Nov 04, 2008 |