Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 3rd, 2010, 05:18 AM
Registered User
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 pg 127

I could not find why my server kept crashing while working on the movie_details.php file with table3.php on the forums. I finally went through the code on the movie_details.php page and started removing pieces until I found the problem. I am relatively new to PHP. I finally found the problem is that the last line on page 127 of the book says to type:

Code:
mysql_close();
You must specify the database connection to close inside the parentheses which for this particular Try It Out is $link. Therefore, the last line should read:

Code:
mysql_close($link);
Hope this helps someone.
Reply With Quote
  #2 (permalink)  
Old August 11th, 2010, 10:44 AM
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to smartcat
Thumbs up

I love you man, I tried everything... running on wamp and thought that had something to do with it... Thank you.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 8 Try it out Pg 273 ostrandernw BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 May 26th, 2009 06:58 PM
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
chapter 5, pg 154 spizotfl BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 3 May 1st, 2007 03:08 PM
Chapter 4 page 127 geniussuineg BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 August 7th, 2006 01:53 PM
Chapter 5 Example 1 p126 - 127 jmurdock BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 15th, 2004 10:35 AM



All times are GMT -4. The time now is 10:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.