Wrox Home  
Search

Topic: PHP/MySQL

Professional PHP Design Patterns (0470496703) cover image
Professional PHP Design Patterns
Aaron Saray
ISBN: 978-0-470-49670-1
Paperback
288 pages
August 2009
Other Available Formats: E-Book
Paperback Version: US $44.99 Add to Cart

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
16 107 Error in Code
In the source cod, the array $boughtCDs should have a key 'title' for value 'Long Road' and 'Waste of a Rib'.

The code should be like this:

$boughtCDs[] = array('band'=>'Never Again', 'title'=>'Waste of a Rib');
$boughtCDs[] = array('band'=>'Therapee', 'title'=>'Long Road');
04/24/2010
164 Error in Text
if ($array) {
if (!isset($_SESSION[$name])){
$_SESSION[$name] = array();
$_SESSION [$name][] = $value;
}

Should be:

if ($array) {
if (!isset($_SESSION[$name])){
$_SESSION[$name] = array();
}
$_SESSION [$name][] = $value;
}
11/24/09
Printer-Ready Version   Share This
DRM-free e-books from Wrox

PHP/MySQL Related Resources

Blogs

Articles