Need help with buying a USB to IDE Converter Cable?

Ok so about 9 months ago my old computer crashed, it was some custom built one with a samsung SP1213N internal hdd.

I never really new what the problem was, I am not that tech savvy but it was christmas time so I just got a good deal on a new laptop.

Now recently it has come to my attention that i can retrieve files from this dead computer’s hard drive , using a cable that would turn it into a external hard drive that I could just plug in to my laptop’s usb.

Would a USB 2.0 to IDE ATA External Hard Disk CD-ROM DVD Drive Adapter Converter Cable work for a samsung SP1213N?

Please I really need help because I had allot of important pictures on that computer like family stuff and some writing.

i have a usb to 2.5" ide converter cable and want to install xp on a laptop that doesn’t have a cdrom. so i want to use my pc (with cdrom) to install it. can someone please help with the correct way to do this. will be eternally grateful..
the laptop’s hdd is actually out of the laptop, and is plugged into this cable and then that is to plug into my pc or other laptop w/ a cdrom drive. hope this helps.