RE: [PHP] MySQL query time

From: Date: Wed, 26 Jun 2002 13:26:56 +0000
Subject: RE: [PHP] MySQL query time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103962@lists.php.net to get a copy of this message
> Is there a way to find the time that mySQL took to perform a query. > like the one shown when you perform it on the console mode....(0.09 sec or > so) No. You can use microtime() to get the time before and after the query, subtract smaller from larger, and that's your time. It's not the actual time of the query, but it's the best you can get. ---John Holmes...

« previous php.general (#103962) next »