mastergamer Posted December 7, 2006 Share Posted December 7, 2006 I am using the query "SELECT COUNT(*) FROM `hashes`" to return the number of rows in my DB. Instead of giving me the proper number, it just gives me "Resource id #9".You can see what I mean by looking at this page between 4pm and 10pm GMT. Link to comment Share on other sites More sharing options...
pulpfiction Posted December 7, 2006 Share Posted December 7, 2006 Guess the error is because of using single qoutes for table name...Try this "SELECT COUNT(*) FROM hashes" Link to comment Share on other sites More sharing options...
mastergamer Posted December 8, 2006 Author Share Posted December 8, 2006 Guess the error is because of using single qoutes for table name...Try this "SELECT COUNT(*) FROM hashes"Tried that, didn't work :)EDIT: I got it working now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now