jkkenzie Posted July 6, 2008 Share Posted July 6, 2008 When i run a php file to get data from database i get an error mysql_fetch_assoc is not a valid mysql resource.. or if i use mysql_fetch_row the same error occurs. Where do i set my WAMP 2.0 to allow such mysql queries to perform or run?? Regards, Joseph Link to comment https://forums.phpfreaks.com/topic/113426-mysql-resources/ Share on other sites More sharing options...
wildteen88 Posted July 6, 2008 Share Posted July 6, 2008 If you are getting that type of error then there is a problem with your mysql query. Post the code here that the error refers to. Link to comment https://forums.phpfreaks.com/topic/113426-mysql-resources/#findComment-582808 Share on other sites More sharing options...
mwasif Posted July 6, 2008 Share Posted July 6, 2008 use echo mysql_error(); after mysql_quey() to know the error. Link to comment https://forums.phpfreaks.com/topic/113426-mysql-resources/#findComment-582824 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.