Another was I was taught to get rid of the hiccups was to eat apple sauce or drink water from a cup while hanging upside down.
I must have gotten the hiccups often when I was younger because I have so many way for getting rid of them. Both of these suggestions came from my best friend. We were both 12 at the time, I think. We were hanging out at her house and I had a case of the hiccups. First she suggested eating apple sauce. I did, and it didnt work. Then she suggested drinking water upside down. I dont know if the water actually helped or I was so distracted by the whole process that I forgot about my hiccups. I have used apple sauce since then and it has stopped my hiccups.
I sometimes wonder if these techniques are successful only because of the placebo effect. Because I believe they will get rid of my hiccups, my hiccups stop.
Eating foods is not a bad guess for stopping the hiccups. Because hiccups originate in the diaphragm, it is only logical that the first attempts to cure them would be directed at the chest. Drinking water inverted could be a way to change someones breathing pattern, or the more forceful swallowing action required to drink water upside down could also account for the effectiveness of this folklore remedy.