Jump to content

A Mysql_Num_Rows() Error


gaogier

Recommended Posts

Why do I get the following error? and How to fix?

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in/home/gaogier/public_html/pages/monsters.php on line 217

 

 

 

Here is my code

 

http://pastebin.com/vrEamahn

 

If i add the or die part, I get this message.

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

 

What do I do?

Link to comment
https://forums.phpfreaks.com/topic/272117-a-mysql_num_rows-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.