close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

Thread began 2/09/2010 7:00 pm by nenad391153 | Last modified 2/09/2010 10:37 pm by Jimmy Wu | 1663 views | 3 replies |

nenad391153

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

Hello,

I am testing my website on a remote server. We have data-assist connected to a database for ecommerce products. I am able to use the insert pages to insert products to the database, however our results page does not display the inserted products. On our local server everything works fine, we are able to see the products. Remotely, there are no results. Below is the error message I receive when on the product_results page.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/.......(path obscured)........products_Results.php on line 108

*I didn't include the full path above for security reasons.

The code on line 108 is:
$totalRows_WADAproducts = mysql_num_rows($all_WADAproducts);

Anyone know what is wrong?
Please help!

Thanks
Nenad

Sign in to reply to this post

nenad391153

Nevermind!

Nevermind my thread and post. I don't know exactly what happened but I just started over and everything is fine now.

Please delete thread.

Thank you!

Sign in to reply to this post

Jimmy Wu

Is $all_WADAProducts anywhere else on the page? If it is, could you post that line of code as well?

Are you using PowerStore?

Sign in to reply to this post

Jimmy Wu

It looks like you got this working before I got a response out to you. If you run into any additional issues, feel free to open a new thread. If you're using PowerStore make sure you say that and which version you're running as well.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...