Re: Stuck on basic concept, how to .. here's how
| From: | John W. Holmes | Date: | Sat, 20 Mar 2004 02:16:02 +0000 |
| Subject: | Re: Stuck on basic concept, how to .. here's how | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33570@lists.php.net to get a copy of this message | ||
dogu wrote:
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