I have serveral (OK, LOTS!) of pages that draw their content from databases. On these pages, the databases may be accessed one or more times. Is it better to close the connection each time a chunk of code is executed and then re-open it for the next chunk or is it better just to open once and leave it until the end?
-Brian-
I'm not an actor, but I play one on TV.
-Brian-
I'm not an actor, but I play one on TV.