Re: Stuck on basic concept, how to .. here's how

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux