Re: in php query execution time
| From: | Ignatius Reilly | Date: | Mon, 19 May 2003 12:47:11 +0000 |
| Subject: | Re: in php query execution time | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27883@lists.php.net to get a copy of this message | ||
I don't think it is possible to do this with the PHP MySQL API.
What you can do is enclose your query call with two timestamps, and compute
the difference. You won't measure the same thing, but it can be useful
still.
Ignatius
____________________________________________
----- Original Message -----
From: "nabil" <nabil.attar@aws-syria.com>
To: <php-db@lists.php.net>
Sent: Monday, May 19, 2003 2:12 PM
Subject: [PHP-DB] in php query execution time
> 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!!!
>
> Please advise
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>