472,119 Members | 1,490 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

PHP API Question.


I'm using a PHP API with MySql.

I can use the mysql_num_rows() function to find out the number of rows
in the resultset.

But does anyone know of a way to find out the number of seconds it took
to execute a particular query using PHP?

Why I need this is because, I would like to execute the BENCHMARK()
function using PHP, but there is not point to this, as I am not able to
figure out the number of seconds it took.


[ Rajesh Kumar ]
Meet the guy at http://www.meetRajesh.com/
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1041

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mohammed Mazid | last post: by
3 posts views Thread by Stevey | last post: by
10 posts views Thread by glenn | last post: by
53 posts views Thread by Jeff | last post: by
56 posts views Thread by spibou | last post: by
2 posts views Thread by Allan Ebdrup | last post: by
3 posts views Thread by Zhang Weiwu | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.