Whether you're connecting PVC or CPVC pipes to copper, cast iron pipes to ABS or galvanized pipes to copper, you'll need a transition fitting. In some cases, you can do it by taking two threaded ...
Thread bolt through washer and saucer ... undo the nut (and washer), remove the bottom plate and refill the PVC pipe. Put the bottom plate back on and turn right side up to rehang.