P.M.
I suggest GrammaRocks' link as well. It's sound advice, and respectful of the child while putting her in charge of the decision.
I also had good results with my grandson, who had had a few painful poops due to constipation, to do role-playing with his stuffed toys and action figures. They each lined up before a small white bowl, complaining of needing to poop in turn, and were encouraged by me and my grandson to go ahead and try, promising they'd feel better once they did. So they each took turns, with much trepidation, grunted and strained, and "produced" a small pellet of clay. Then we would congratulate them, and the next toy would take his turn. This seemed to give my grandson, who was often sitting on the toilet during these games, the courage to take his turn as well.