What can replace this PVC toilet flange in iron pipe?
See how the broken remnant of your old flange is marked "For Cast Iron"? The product you linked to in your question specifically says it's for PVC.

You should use a heavy duty product made for use with cast iron, and screw it securely to the floor with stainless steel screws after you set it. Something like this: