Web Database Applications with PHP and MySQL, 2nd Edition by Hugh E. Williams, David Lane The following errata were corrected in the 8/05 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 (49): "a bit to hard to" NOW READS "a bit too hard to" (53): "Include files that are placed in directories outside of the web server's document root are protected from accessed via the web server" NOW READS: "Include files that are placed in directories outside of the web server's document root are protected from access via the web server" (59): "To including print_r() output as part of a web page,..." NOW READS: "To include print_R() output as part of a web page,..." {100} table; Minutes NOW READS lower case i, not upper case. (158) The GROUP BY clause in the query the bottom of the page NOW READS: "GROUP BY surname, firstname, city HAVING count(*) > 2". (159) the last query on the page; "SELECT ciry FROM customer GROUP BY city" NOW READS: "SELECT city FROM customer GROUP BY city" 179: "//Print the field length in brackets e.g.(2)" NOW READS: "//Print the field length in parentheses e.g.(2)" (188) line 9: if (isset($defaultvalue) && $result == $defaultValue) NOW READS: if (isset($defaultValue) && $result == $defaultValue) 195: "This makes them a little different to the global variables..." NOW READS: "This makes them a little different from the global variables..." (226): http://pear.php.net/manual/en/core.db.php NOW READS: http://pear.php.net/manual/en/package.database.php#package.database.db {289} 3rd Paragraph; if (!ereg("^[[:alpha:]]$", $string)) NOW READS: if (!ereg("^[[:alpha:]]+$", $string)) This same CORRECTION also appears in the following two examples. {344} Examples 10-3; Missing initial < before ?php HAS BEEN CORRECTED. (395): in the comments in example 11-16, "// Connect to a authenticated session..." NOW READS: "// Connect to an authenticated session..." {406} 2nd paragraph "doc_ref =" NOW READS: "docref_ext =" {463} 2nd to last line of the page,the function to calculate the area of a circle; function area() { return 2 * pi() * $this->radius; } NOW READS: function area() { return pi() * $this->radius * $this->radius; }