Does anybody know what query should I run to get Mysqlserver response time with PHP and display it in the browser? I want to display to the users: " Your search took $variable" Thank you in advance !
i think what u can do is before u start searching for records say $start_time =time(); code to search the keyword $end_time() = time();
$time_taken = $start_time-$end_time();
mandar
You'd be better off using the microtime() function instead of time() to get more accurate results.
Thank You both ! You are great !