What is best way to get the time it took for Php MySQL to process a Query?
I am doing this currently:
1- When the Query is POSTED I set:

2- When the Query is done, that is after:
mysql_query($sql_chk_url) or die(mysql_error());
I set:

However, $t1 $t2 are always the same even though it takes like 5 seconds for the page to come back vs 1 second. etc.

What to do?