Jump to content

to close or not to close?


freelance84

Recommended Posts

I'm confused,

 

I have one book ("php, mysql, & javascript") saying that all connections should be closed at the end of php scripts but then http://php.net/manual/en/function.mysql-close.php saying the opposite.

 

I currently have quite a few complicated php scripts that don't close the connection at the end, should i be closing them or not?

Link to comment
https://forums.phpfreaks.com/topic/211278-to-close-or-not-to-close/
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.