> I read in the php.net manual that the connection closes automatically
> when the script exits.  Does this mean I can't open a db connection in
> one file and pass the link around from function to function?

No, the script you include becomes part of the main script calling the
inclusion, therefore the connection stays open 'til you explicitly
close it, or your main script exits.

cheers

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

Reply via email to