Check that the cable is OK too. Take it off at both ends and refit it. Make sure it's refitted correctly.
Check in the BIOS that it's set for the correct type of floppy drive.
Did it used to work? Have you changed anything at all since it used to work?
Try formatting and recording to a new blank floppy - does this work?