Web Database Applications with PHP and MySQL, 2nd Edition by Hugh E. Williams, David Lane The following errata were *corrected* in the 1/06 reprint: Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem {23} 10th line from the bottom; "11100100" NOW READS "11100001" (49): the print function does not add a new line character, hence the fragment printed out NOW READS '1111' not '11\n11' (62) 4th line from the bottom; "Mars" => array("dist"=>0.39, "dia"=>0.53, NOW READS: "Mars" => array("dist"=>1.52, "dia"=>0.53, (174) List Item Number 5; "...there are six attributes in each row: wine_id wine_name, type, ..." The third attribute name NOW READS "wine_type". {244} Lines 18 and 21; $template->addBlockFile NOW READ: $template->addBlockfile {245} 8th line from bottom of page; loadTemplateFile NOW READS: loadTemplatefile (447) below Fig. 13-8; "options['fontsize']" NOW READS: "options['fontSize']" 482: "It's required that the attribute (or comma-separated) attributes listed in the USING clause are enclosed in brackets." NOW READS: "It's required that the attribute (or comma-separated attributes) listed in the USING clause are enclosed in brackets." (486): "but only for cities that have more the five customers" NOW READS: "but only for cities that have more than five customers" (496): "Section 5 of the MySQL also includes an explanation of how..." NOW READS: "Section 5 of the MySQL manual also includes an explanation of how..." (503): The command for loading the winery.csv file listed as: ... LOAD DATA INFILE 'winery.cdf' INTO TABLE winery ... NOW READS: ... LOAD DATA INFILE 'winery.csv' INTO TABLE winery ... (524): At the bottom: For Microsoft Windows, if the file is stored as C:\windows\temp\ws-dump, you can use: mysql>SOURCE C:\temp\ws-dump NOW READS: For Microsoft Windows, if the file is stored as C:\windows\temp\ws-dump, you can use: mysql>SOURCE C:\windows\temp\ws-dump (539): change the last bullet on the page from "Queries that use functions that should return different results dont't use the cache" NOW READS: "Queries that use functions that could return different results dont't use the cache" (658 and 659) authentication.inc NOW READS: includes/authenticate.inc {745} 4th line from the top; "wine_variety" NOW READS "grape_variety"