Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0
This is the forum to discuss the Wrox book Beginning PHP5, Apache, and MySQL Web Development by Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz, Michael K. Glass; ISBN: 9780764579660
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 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 April 29th, 2007, 12:39 PM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3, page 95

I'm trying to modify the code posted for the moviedata.php file on the bottom of page 95, but, I have no idea how the numbers used in the
"//insert data into "movie" table" section relate to the Page 94/5 script at all. The numbers must be placed in a structured manner, but what do they relate to?

Cannot be the movietype table (can it?) as then they would make no sense, but at present they make no sense anyway.

Does anybody understand how the work?

Many thanks, and great book BTW.

  #2 (permalink)  
Old May 29th, 2007, 04:45 PM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think it's as follows:

1st number is movie_id
2nd value is movie_name
3rd value is movie_type, linking to the movietype table's movie_id field
4th value is movie_year
5th value is movie_leadactor, linking to the people table's people_id field
6th value is movie_director, again linking to the people table's people_id field

HTH (if you've not already found the answer)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pass 1z0-042 With 95% ucham VBScript 1 July 25th, 2013 08:45 AM
Chapter 3 Page 95 jumpot89 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 6 April 22nd, 2009 03:11 AM
Chapter 3 page 95 nead23 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 March 26th, 2009 09:28 AM
Chapter 3 pg 95 al2000 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 August 4th, 2008 09:18 PM
It wont Connect toMySQLChapter 3,Page 95-98, Alej PHP Databases 3 August 29th, 2006 11:37 PM





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