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: Dreamweaver MX: PHP Web Development
This is the forum to discuss the Wrox book Dreamweaver MX: PHP Web Development by Gareth Downes-Powell, Tim Green, Bruno Mairlot; ISBN: 9780764543876
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Dreamweaver MX: PHP Web Development 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 August 1st, 2004, 08:02 AM
Registered User
 
Join Date: Jul 2004
Location: Devonport, , Australia.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default php error

Wondering if somebody could tell what this error message means.

Warning: mysql_fetch_assoc(): 2 is not a valid MySQL result resource in c:\phpdev5\www\dreamweaverhotel\search.php on line 100

My page seems to be only able to bring up one query from the database I guess because of this error.



Lynne Maree Ryan
Reply With Quote
  #2 (permalink)  
Old August 23rd, 2004, 09:23 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Lynne Maree,
I cant help with your particular error :(
but I am attempting to get the search working and you may be able to help me with three questions.

How have you done the link to display the search page?
I would like to add a button in the template

How do you intend displaying the search results?
I would like search.php to take in the parameters
(this displays ok for me now)
Then display the results in search_results_display.php

How have you input the Run-time Value on Page 209
should $HTTP_POST_VAR['bed'] read
space dot space $HTTP_POST_VAR['bed_option']space dot space
to match the code on page 210

would be interested to hear how you are getting on
regards

RinseBouy
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
My first time with Php, this error comes. arbab BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 November 8th, 2008 10:56 AM
SampleCode.php possible error vicsam Pro PHP 1 July 6th, 2005 04:22 PM
Php socket error madman Pro PHP 0 November 10th, 2004 09:17 PM
Error: movie.php & commit.php on p182-186, ch6 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 12th, 2004 02:48 PM
PHP Error on Server snappy316 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 August 22nd, 2004 07:36 PM



All times are GMT -4. The time now is 12:47 AM.


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