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? Link to comment https://forums.phpfreaks.com/topic/74258-mysql_num_rows/ 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. Link to comment https://forums.phpfreaks.com/topic/74258-mysql_num_rows/#findComment-375175 Share on other sites More sharing options...
fenway Posted October 22, 2007 Share Posted October 22, 2007 Or the query didn't execute sucessfully Link to comment https://forums.phpfreaks.com/topic/74258-mysql_num_rows/#findComment-375451 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.