chick3n Posted January 20, 2008 Share Posted January 20, 2008 Should we only open one mysql connection to the database for each page, and use that 1 connection for any SQL calls we need to make, or should we open/close the connection each time we need to get something? Or does it not really matter? Quote Link to comment Share on other sites More sharing options...
chronister Posted January 20, 2008 Share Posted January 20, 2008 I personally open the connection once per page, do what I need to do and then close the connection.... which half the time I don't close the connection as it closes itself when it is done. Others my have a different opinion, but this is my $ .02 Nate Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.