Update db.class.php

Update function consulta to create