You may want to try a few things.
(1) All queries are run inside functions. I don't do any work inside
(2) These functions are always called from a wrapper function, which includes
reporting the time to run just the query.
GetOrderNumber(MyOrderNumber, &$DS_Order)
{
global $QueryTimers;
If the query analyzer runs directly on the server, it would probably be
faster than the extra steps required by php to query for and render out the
data through a browser, especially if its on a shared server, but 9 seconds
of difference does seem like a lot.
- Original Message -
Fro