Not possible. There are no ribbon (ide) cables with three connections. You can have two drives on two ide cables. For example if you only have one hard drive (master) you can have another (hard drive or optical drive) as a slave on the main ide cable. You can then have two more drives (hard drives or optical drive) on the secondary ide cable, giving four drives altogether.
If you need to connect more that four drives you can get a pci to ide card which will accommodate another drive.