A another method with the database of MySQL