Errata

PHP & MySQL: Novice to Ninja

Errata for PHP & MySQL: Novice to Ninja

Submit your own errata for this product.

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
PDF Page 475
1st paragraph

Undefined variable $authentication on entry point.php
Call to a function $authentication->isloggedin() on null

Anonymous  Sep 05, 2020 
PDF Page 475
1st paragraph

Undefined variable $authentication on entry point.php
Call to a function $authentication->isloggedin() on null

Anonymous  Sep 05, 2020 
PDF Page 3237
end of function insertJoke

Section: Improving the insert function

On the next page where the entire insertJoke function is listed, the end of the function says:

query($pdo, $query);

instead of

query($pdo, $query, $fields)

As printed, this caused this novice to spend several hours trying to figure out why "invalid parameter number: no parameters bound" error when adding a joke to the database.

This same error is perpetuated throughout the rest of the chapter every time insertJoke is listed.

Jeane deCoster  Jun 16, 2020