Hello guys, I just started to create my own mysql class.
I would like do add debug info, where i can get the total of time it took for all my queries
so i have
$querytime = 0; //represents the total time
thats the holder..
in my query function, how should i make it add time to the current $querttime
meaning if its on like .00005 secs, and this query took x time, add that to the total.
thx guys
Please show me how to start the timer
this is a basic modell
function query {
//start time
dothequery();
//end time
calc difference, adn add to total time
}