Jump to content

[SOLVED] mysql_close();


odisey

Recommended Posts

not really - it is good practice to do this kind of thing in your code though - laziness now can result in problems later!!!!!!

 

if you are using multiple connections on a page then you shoudl manage them properly but essentially php runs this command at the end of every page (that is not utilizing mysql_pconnect).

Link to comment
https://forums.phpfreaks.com/topic/78741-solved-mysql_close/#findComment-398503
Share on other sites

  Quote

not really - it is good practice to do this kind of thing in your code though - laziness now can result in problems later!!!!!!

 

if you are using multiple connections on a page then you shoudl manage them properly but essentially php runs this command at the end of every page (that is not utilizing mysql_pconnect).

 

Good to know...  I have one connection only ...  so it must close on its own.... 

 

Thank you for the feedback!  And from the manuel!

 

Marc

Link to comment
https://forums.phpfreaks.com/topic/78741-solved-mysql_close/#findComment-398505
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.