MDanz Posted April 5, 2010 Share Posted April 5, 2010 what i've done is i have one query in one place on the page. i've copied and paste it to another place on the page and now this error comes up. When i delete the copy it works again?.. any ideas, i don't need to post the code.. just need a guess on why this is happening, i'm assuming a duplicate value or something. Quote Link to comment https://forums.phpfreaks.com/topic/197645-warning-mysql_num_rows-supplied-argument-is-not-a-valid-mysql-result-resourc/ Share on other sites More sharing options...
fenway Posted April 7, 2010 Share Posted April 7, 2010 Check mysql_error() after the offending query. Quote Link to comment https://forums.phpfreaks.com/topic/197645-warning-mysql_num_rows-supplied-argument-is-not-a-valid-mysql-result-resourc/#findComment-1038093 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.