Wrox Home  
Search

Topic: PHP/MySQL

Beginning PHP, Apache, MySQL Web Development (0764557440) cover image

Beginning PHP, Apache, MySQL Web Development

Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner
ISBN: 978-0-7645-5744-6
Paperback
720 pages
March 2004
View Most Recent Edition of This Title
This title is out-of-print and not currently available for purchase from this site.


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
(whole book) $e-mail is an invalid variable name
During the editing process, $email was changed to $e-mail, which is an invalid variable name. This variable name is used throughout the book on numerous occasions. Readers need to replace $e-mail with $email wherever applicable.
6/14/04
74 Code correction for parse error
At the bottom of page 74, under the "foreach Constructs" section, line 6 of the code currently states: foreach ($flavor, as $currentvalue) { It should read: foreach ($flavor as $currentvalue) {
6/16/04
2 96 Fatal error in createmovie.php code
Some people may have experienced an error in createmovie.php on page 96 because of a line of deprecated code. While this doesn't always cause an error, if you do get a fatal error, you can try this fix: INSTEAD OF mysql_create_db("wiley"); USE $query = mysql_query("CREATE DATABASE wiley") or die(mysql_error());
6/14/04
4 130 Error in code on web site for Step 2
Step 2: The book correctly shows ... mysql_query($movie_query,$link) or die ... however, the original "source code" from the Website was missing the critical change to "$movie_query," and shows "$query," only. This returns a "query was empty" error when the file is run.
Corrected code was posted on 3/11/05.
3/3/05
154 Error in Code
"file AddMovie.php" at the end...

<?php
for ($year=date("Y"); $year >= 1970 ;$year—){
?>

Change them to:

<?php
for ($year=date("Y"); $year >= 1970 ;$year--){
?>
9/12/05
14 491 Error in line 77 of code for checkout3.php
Line 77 of the code: There is a missing comma at the end of the line. Change to '$shipping',
6/16/04
14 493 Error in line 179 of code for checkout3.php
Code in line 179 is $message .= $quan; and should be $message .= $qty;
6/16/04
14 493 Error in line 189 of code for checkout3.php
Code in line 189 is $extprice = number_format($price * $quan, 2); and should be $extprice = number_format($price * $qty, 2);
6/16/04
14 495 Error in line 288 of code for checkout3.php
Code in line 288 is echo $quan; and should be echo $qty;
6/16/04
14 495 Error in line 298 of code for checkout3.php
Code in line 298 is $extprice = number_format($price * $quan, 2); and should be $extprice = number_format($price * $qty, 2);
6/16/04
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free