chard Posted October 22, 2007 Share Posted October 22, 2007 Hi, I have just transferred a website from a server with mysql5 to a server with mysql4. I am receiving this error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in Is this not backward compatible? Quote Link to comment Share on other sites More sharing options...
derwert Posted October 22, 2007 Share Posted October 22, 2007 Check mysql_error() My best guess is you didn't set the database username and password for the new server in the script. Quote Link to comment Share on other sites More sharing options...
fenway Posted October 22, 2007 Share Posted October 22, 2007 Or the query didn't execute sucessfully Quote Link to comment 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.