Lite MySQL Abstraction Layer lets you manage querys and get the additional information in a very simple and clean way. It closes the connections and free the results if needed. You only need to worry about your query. A few class variables will give you the query information like affected rows, fields on the query, fields data, etc, by just calling them. No additional functions calls needed.