<edited:>
ps. in case the answer is no on this one, here is the code I used which works:
list($usec0, $sec0) = explode(' ',microtime());
$result=mysql_query($sql,$$cnxString);
list($usec1, $sec1) = explode(' ',microtime());
$qr[time]=$sec1+$usec1-$sec0-$usec0;
this will tell you the REAL time it took for the query I suppose, not just the time from the time mySQL got the query and returned the result..
</edited>
PHPmyAdmin tells you how long the query took. Is there a php function like mysql_info() which will return this data on the previous query? I suppose I could use microtime but wanted to avoid it. I can't find this function at php.net or here after a search.
Thanks,
Sam