I am new to MySQL and PHP and am attempting to make my own CMS to help make managing my websites easier. Can someone explain mysqli's close()
function?
- Is it necessary?
- What exactly does it do?
- I heard that after PHP runs its script that it closes the connection, is that true?
- Lastly, is there a security issue when not closing your connection to the database?