RE: [PHP-DB] in php query execution time

From: Date: Mon, 19 May 2003 13:14:18 +0000
Subject: RE: [PHP-DB] in php query execution time
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-27885@lists.php.net to get a copy of this message
> I need to get the query execution time like the one we get in the shell > (Query OK, 1 row affected (0.00 sec)) on my php page!!! You can't, MySQL does not provide that except on the command line. Use microtime() to get the time before and after the query. It won't be the same, but it'll give you an idea, at least. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.db (#27885) next »