PHP5 Errata - Pages 207-208
I think I've uncovered some errata for this newly purchased book and the form to post errata wasn't working... so I'd like to post it here and see if someone can validate the error.
The code block at the top of page 207 reads:
$WelcomeMessage = "Hello world";
$WelcomeMessage = "Bonjour Tout Le Monde";
When I run this code, I receive a PHP error: Missing argument 1 for translate_greeting()...
I can fix it by simply changing the function to:
This same error appears on the next page of the book.