What exactly is the purpose of $db_object->disconnect();
and when should it be used.
I am looking over it and it is executed after somebody register at a certain site and logs in.
presumably, it is a class method to disconnect from a database (as the name suggests).
so what is the advantage of using this as opposed to not using it?
When exactly should I use it? When somebody 'logs out'?
Originally posted by influx so what is the advantage of using this as opposed to not using it? When exactly should I use it? When somebody 'logs out'?
um... use it whenever you want to disconnect from the database don't use it when you want to stay connected to the database pretty simple