Figure out a way to pass the db connection to the 2nd file rather than reconnecting.
You can't pass resources. You connect on each PHP page. Put _that_ in a function to make it easy. :)
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php