Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old June 5th, 2004, 12:01 AM
Friend of Wrox
 
Join Date: Jun 2004
Location: Fairfield, Iowa, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 6 commit.php

Ok, Either people who has been reading this book has done so blindly(By the way the book is awesome) or I am going crazy. the commit.php described on chapter 6. Does not have the code for the edit option but for the add and nobody so far seemed to notice. The edit is suppose to update and existing record not add a new one. Can somebody please confirm this. Thanks so much

__________________
Christian
  #2 (permalink)  
Old June 6th, 2004, 12:48 PM
Authorized User
 
Join Date: May 2004
Location: , , .
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, I can confirm it. On page 172, the file commit.php does NOT have the edit option. However, have you reached page 182 yet? If not, keep going :) I think you will be pleasantly surprised.

  #3 (permalink)  
Old June 6th, 2004, 10:00 PM
Friend of Wrox
 
Join Date: Jun 2004
Location: Fairfield, Iowa, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply. I am actually on page 300.(As you can see I really wanna learn php). The book gets better and better. I found a problem with the multipart e-mail section but other than that it has been all good. :-D

  #4 (permalink)  
Old June 6th, 2004, 10:54 PM
Authorized User
 
Join Date: May 2004
Location: , , .
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What was the problem you found? Was it the e-mail variables? We had a problem with the editors doing a global search/replace on the book, because e-mail is their accepted spelling of the word "email." Unfortunately, that search/replace also changed the variables in the code, which as you have no doubt discovered is NOT allowed.

Glad you are enjoying the book. :)

If you would like help with your learning of PHP, I recommend visiting phpbuilder.com, if you haven't already. You will find most of the authors there, with recent posts.

Mike: BuzzLY (that's me)
Yann: bunkermaster
Elizabeth: Elizabeth (try to figure out how she came up with her user name ;))
Gary: trooper (haven't seen him there in while, though)
Jeremy: stolzyboy
Jason: goldbug

Make sure you drop in and say hello, and tell them BuzzLY sent ya.
  #5 (permalink)  
Old October 3rd, 2004, 10:20 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can't seem to get the edit part of the index.php file on page 182 in chapter 6 to work. The add and delete functions work.

The funny thing is that I'm not getting any error, it's telling me it is done. But the entries aren't changed in the database.

Any ideas?

Does any one have the three files necessary to make this work coded correctly and working that they can send me. My email graham@thing.net

thanks and help

G



Similar Threads
Thread Thread Starter Forum Replies Last Post
Commit.PHP and Delete.PHP in WROX's book GiFos Beginning PHP 0 January 30th, 2007 10:51 PM
chapter 7 commit.php ratxamala BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 November 2nd, 2005 09:24 AM
ch 6 commit.php problem updating movie table statusquo BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 May 2nd, 2005 10:02 PM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
ch 7 page 208 commit.php pipdickenz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 September 8th, 2004 12:08 PM





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