Basically there is a PVC flange that was glued to the inside of the pipe. The problem was that the metal flange that was on the outside was so completely bent that the bolts no longer stayed inside. So I wanted to remove the metal flange and replace it with a new one, but I didn't know the PVC was glued in and long story short wound up breaking it. What is the correct way to fix this? I have replaced several toilets before but never had this problem before.
Picture of toilet flange now (note - that metal ring is the NEW one):
Will a wax ring like this just go over it and seal the hole? Or do I need some kind of gasket? Something more?