PHP API Question.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rajesh Kumar

    #1

    PHP API Question.

    Hello,

    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.

    Thanks.

    --
    [ 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/mysql?unsub=m...ie.nctu.edu.tw

Working...