Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP 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 January 27th, 2006, 09:16 AM
Registered User
 
Join Date: Jan 2006
Location: penryn, cornwall, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4 P124 - movie_details

:(Hi,
I have been working my way through the book "Beginning PHP, Apache & MySQL Web Development" and I am now stuck on one of the tutorials. The one in question is on pages 124 -> 131 regarding the file movie_details.php . I have checked the forums for an answer however I haven't found anything of relevance to my problem.
When I open the movie_details file in my browser it returns two errors stating:

Warning: extract() [function.extract]: First argument should be an array in C:\www\movie_details.php on line 38

Warning: extract() [function.extract]: First argument should be an array in C:\www\movie_details.php on line 53

The lines refer to the
Code:
extract($row_d)
and
Code:
extract($row_a)
commands. I can post the code if requested however, it does not differ from the code on this site and the textbook(s).

Please help if you can. I am running MySQL 4.1.7, PHP 5.1.2 and Apache 2.0.55.:(
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
movie_details.php issues gargamel BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 12 October 24th, 2010 06:02 AM
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM
need help with movie_details.php code kjames1973 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 December 26th, 2004 03:28 PM



All times are GMT -4. The time now is 03:24 AM.


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