void function close()
This function closes the Database Connection or the RecordSet.
ADOConnection::close()shuts down the database connection object, which cannot be re-established for the remainder of the script.
ADORecordSet::close()cleans up and releases the RecordSet.
Calling this function is not recommended and usually unnecessary, as Database connections are automatically cleaned up when scripts end.