
Originally Posted by
bostboy
Not sure if this is a php or mysql question but since it originates in php, I'll ask it here. I have a database connection file and I use an include throughout the program in different places to establish a db connection. My question regards how those connections close and how long they remain open and what is the consequence of that if any?
First I always use include rather than include_once, does that matter.
And secondly, I never close them. Is there a way to do that and should I be doing that?
Thanks
Bookmarks