I have a sql query which takes like 6 seconds to return results when run in query analyzer but when used via a php webpage to display in a report it take over 15 seconds. What can be the reason for the page to take so long to return results. Any help is appreciated. Thanks Harpreet Kaur -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php