bguthrie
Posts: 31
|
Posted: 03/24/2004, 7:14 AM |
|
I've noticed in CodeCharge Help that "unset($db)" and "connection->close" are used in sample code to close database connections and release resources. Which is the best method for closing connections?
Thank you for your insights.
_________________
Regards,
Bruce |
|
|
peterr
Posts: 5971
|
Posted: 03/25/2004, 10:38 AM |
|
I checked and looks like using close should be better, even though theoretically PHP should free all resources at the end of script's execution.
We'll modify the docs as well. Thanks for pointing this out.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
bguthrie
Posts: 31
|
Posted: 03/25/2004, 11:51 AM |
|
Thank you Peter, I appreciate the help.
_________________
Regards,
Bruce |
|
|
|