Anyone knows how to get the total query time in mysql using php?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ppl,

Anyone knows how to get the total query time in mysql using php?

Like given: 

SELECT * FROM tbl_country ;

the query result will come out then the time it tooked to query it
comes out also

result:
cty_name cty_abrv cty_code
cty_name cty_abrv cty_code
cty_name cty_abrv cty_code
cty_name cty_abrv cty_code
cty_name cty_abrv cty_code

time took to query data: 1ms
etc...

thanks you,
Marco







PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux