Wrox Programmer Forums
|
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2009, 02:53 AM
Registered User
 
Join Date: Dec 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Chapt. 04 Pages 124-126 Errata

These "Try It Out" exercises are VERY confusing.

First thing was that it was hard to understand that all of these "Try It Out"s were in order and a part of a single file. Next was the lack of consistant coding that was revieled to me when I downloaded the zip file for all of the code in this book. The code from the downloaded files were not the same as the code in the book. IE the following:


From Downloaded File:table3.php
Code:
$query = "SELECT
     movie_id,
     movie_name,
     movie_director,
     movie_leadactor
     FROM
     movie";
From Book: table3.php
Code:
$query = "SELECT movie_id, movie_name, " .
             "movie_director, movie_leadactor " .
             "FROM movie";
From Downloaded file:movie_details.php
Code:
//get director's name from people table
     get_director($movie_director);

     //get lead actor's name from people table
     get_leadactor($movie_leadactor);
From Book:movie_details.php
Code:
//get director's name from people table
     get_director();

     //get lead actor's name from people table
     get_leadactor();
It took me days to figure this out. This book is supposed to be for BEGINNERS. BEGINNERS don't know how PHP code works. That in the last example listed above, the values $movie_director and $movie_leadactor needed to be inside each of the (). Major waste of time...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Messages Pg.124 feverwilly BOOK: Beginning Ruby on Rails 1 January 3rd, 2009 03:01 AM
Page 126-129 herjeulucy BOOK: Beginning ASP.NET 1.0 0 April 13th, 2005 09:45 PM
PHP5 Errata - Pages 207-208 garrisrd BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 August 4th, 2004 05:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.