What is the cure for hiccups?

Everyone has a home remedy, but my wife’s, via her sixth grade teacher is the one that’s worked the best for me. Seven quick, shallow sips of cold water from a cup. I generally go over seven, but it works.