Page 1 of 1

Display query processing time

Posted: Wed Dec 14, 2011 9:21 pm
by lakc
Hey ppl,

How can I display the query processing time taken for result to be processed and retrieved froma query, and then displayed on to a PHP page?

Is there PHP command for this?

Re: Display query processing time

Posted: Wed Dec 14, 2011 9:43 pm
by Temor
I'm not sure if there is a method for this, but I usually instert a timestamp into a variable before and after the query and then I echo out the difference in time between those two timestamps.

Re: Display query processing time

Posted: Thu Dec 15, 2011 1:55 am
by jacek

Re: Display query processing time

Posted: Mon Dec 26, 2011 5:30 pm
by lakc
Thanks and belated Merry xmas wishes to all in the forum