Just doing some updates to my site and ive noticed that a lot of other sites out there have some infomation at the bottom of there page listing the amount of time the page took to load and number of querys and stuff like that, anyone know how I can have this infomation on my site?
at the beginning of your page you save the mictotime() in a variable, and at the end - where you want to print the loading time, you subtract this value again from microtime() - this should give you the value!
There's no magical way to do it, it's coding like anything else.
mysql_query("blah"); ++$numqueries;