MacBook Pro flashing question mark but I can't repair because hard disk not found in disk utility
Solution 1:
I'd say this is almost certainly a hardware issue. Likely something internal to the drive (if it sounds like it spins up normally, probably some part of the onboard electronics), the hard drive cable or the SATA controller on the logic board.
I'd advise taking it in to an Apple store if you can (especially if it's under warranty), but if you want to try it yourself, the first thing to do is try a different drive, and see if that gets recognized. If it does, your drive is dead, if not, it's a problem with the logic board or the cable. You can get replacement parts from iFixit, but if it's the logic board, then you're better off getting a quote from Apple for a replacement.
Solution 2:
I will tell you guys that the problem is the hard disk cable. You need just to replace it and everything will be fine again.