Wrox Programmer Forums
|
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
 
Old June 8th, 2004, 09:53 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was reading through this thread and it made me wonder why is it that I did not get any problems when running the same code. I did not change ANYTHING. I run it as it was. Any reason why?

 
Old August 25th, 2004, 11:55 AM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was getting the
Code:
Warning: extract(): First argument should be an array in ...
error from the code starting on page 120, in chapter 4. After 3 hours, some sleep and then another hour of attention I noticed that amount of times I recieved the error was related to the amount of table entries that weren't displaying. Then I realized that according to my database Mike Judge starred in Office Space, something I knew to be false.

The problem? I've never been a big fan of Kevin Kline and I must have just subconsiously ignored putting him in the 'moviedata.php' file. I went into my database using mysqlcc and reassigned the keys to correctly be associated with the right people and received no errors upon reloading the script.

p.s. being a css fanatic the chapter on tables is like nails on a chalkboard. I had to practically force myself to go through it, though i did start by cut and pasting the code so i didn't actually have to type the table info... I rationalized it as being acceptible to use tables to do what the examples called for since tables used correctly are good. But all the style formatting going in tables and div tags... what does that say to the kids?





Similar Threads
Thread Thread Starter Forum Replies Last Post
undefined variable zenixcomp BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 October 31st, 2008 06:11 AM
How to know a variable is undefined? Edward King Javascript How-To 3 June 14th, 2005 10:14 AM
Chapter 7 check_image.php, undefined variable Ron_Bingham BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 June 3rd, 2005 10:31 PM
Undefined variable majidnakit Beginning PHP 2 April 16th, 2005 11:23 PM
undefined variable !! cody44 Beginning PHP 3 January 20th, 2005 05:47 PM





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