/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Create a variable for start time // Place your PHP/HTML/JavaScript/CSS/Etc. Here //Create a variable for end time //Subtract the two times to get seconds $time = $time_end - $time_start; echo 'Script took '.$time.' seconds to execute';
URL: http://phpsnips.com/snippet.php?id=26