Update DatabaseConnection.class.php

fixed edit_post function