
These days you'll have seen a lot of tutorials offering MySQL classes on the web which can return the amount of queries you're using. That's fair enough, but sometimes you can end up using loads of queries on a page and when you repeat them in a loop it can get pretty tedious for your poor server.
View Tutorial