MarthaI used the chewable milk of magnesia tablets, kind of hard to find, but they taste OK. You can give a really small dose. My oldest took them for about a year everyday, I think one tablet did the trick and then every other day for a bit and now he is 9 and no problems, he was 2-3 when he had his problems.
Good luck.