Update class.mysql.php

moved the close function to the bottom so other functions that were below where close() use to be can still use the database before this script closes the connection.