p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Dreamweaver MX: PHP Web Development (http://p2p.wrox.com/book-dreamweaver-mx-php-web-development-38/)
-   -   php error (http://p2p.wrox.com/book-dreamweaver-mx-php-web-development/16254-php-error.html)

wattle99 August 1st, 2004 08:02 AM

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

briang5 August 23rd, 2004 09:23 AM

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


All times are GMT -4. The time now is 06:59 PM.

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