khile Posted March 26, 2006 Share Posted March 26, 2006 Hello i have been haveing a problem with a script the problem is outlined belowWell 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 Quote Link to comment https://forums.phpfreaks.com/topic/5863-mysql_num_rows/ Share on other sites More sharing options...
toplay Posted March 26, 2006 Share Posted March 26, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/5863-mysql_num_rows/#findComment-20895 Share on other sites More sharing options...
khile Posted March 26, 2006 Author Share Posted March 26, 2006 ok i have done what is said but to no availe if any one could help me that would be greatMsn: khile@hotmail.co.ukPs: i will payThanks Quote Link to comment https://forums.phpfreaks.com/topic/5863-mysql_num_rows/#findComment-20924 Share on other sites More sharing options...
dnirvine Posted April 9, 2006 Share Posted April 9, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/5863-mysql_num_rows/#findComment-25171 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.