Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
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 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
 
Old January 27th, 2006, 10:16 AM
Registered User
 
Join Date: Jan 2006
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.:(





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 04:28 PM





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