Jump to content


Photo

mysql_num_rows


  • Please log in to reply
3 replies to this topic

#1 khile

khile
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 26 March 2006 - 06:15 PM

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

#2 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 26 March 2006 - 06:20 PM

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]

#3 khile

khile
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 26 March 2006 - 07:14 PM

ok i have done what is said but to no availe if any one could help me that would be great

Msn: khile@hotmail.co.uk



Ps: i will pay

Thanks

#4 dnirvine

dnirvine
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationSaskatchewan, Canada

Posted 09 April 2006 - 10:32 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users