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 Quote Link to comment 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. Quote Link to comment 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. 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.