phpknight Posted October 27, 2007 Share Posted October 27, 2007 When I execute a query with PHP, how do I get the time executed to return to my script like it does in phpMyAdmin? I cannot seem to figure it out. Quote Link to comment Share on other sites More sharing options...
Barand Posted October 27, 2007 Share Posted October 27, 2007 call microtime() before and after and subtract to get the time taken Quote Link to comment Share on other sites More sharing options...
phpknight Posted October 27, 2007 Author Share Posted October 27, 2007 Oh, okay. I already do that. I was just wondering if there was some thing that came back with the result from the query or something. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.