Jump to content

mysql_num_rows


khile

Recommended Posts

Hello i have been haveing a problem with a script the problem is outlined below

Well if you visit www.myfreepb.com click create new forum fill it in then you receive and error saying:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mypb/public_html/register.php on line 377



And on that line in script is this:

if (mysql_num_rows($nuke_check_result) > 0)


Thanks
Link to comment
Share on other sites

Search for "Annoying Errors" on this FAQ page for the answer:

[a href=\"http://www.phpfreaks.com/forums/index.php?s=&showtopic=31047&view=findpost&p=153359\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?...ndpost&p=153359[/a]
Link to comment
Share on other sites

  • 2 weeks later...
This error is caused due to the fact that it did not find anything relevant to your query that you processed. You should make sure that you have something in your table that corresponds to your query.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.