Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number of queries 1

Status
Not open for further replies.

4x4uk

Technical User
Joined
Apr 30, 2002
Messages
381
Location
GB
I have seen a couple of sites using php/mysql, particularly forum boards which display a query count and processing time at the bottom of the page. Any ideas on how this is done.
Many thanks
Ian

Infinity exists! - I just haven't worked out a way to get there yet.

| |
 
what do you mean with "number of queries" - do you mean the number of returned results for a given query (then the explanation on it + processing time can be found here or the number of queries you can send (then you're supposed to know it ... ) ?
 
I would think that the numbers presented are the number of queries used to produce the output you see.

In your script:
Start a timer. Count the number of queries. Stop the timer. Report the results.

Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top