Ok, i'm using the ASRock H77M, and the COOLER MASTER Hyper 212 Plus for my CPU. Will the 4-pin fan still work with the 8-pin power connector on the motherboard? Should i get a different fan? If so, please suggest a good CPU fan that's around 30$.
Rolli is correct. A CPU fan header has four PINS. A CPU power connector has four or eight HOLES, and in either case is considerably larger. There is no possibility of plugging the fan into the power connector, or the power cable into the fan header.
Some motherboards have two CPU fan power connectors. Each is four PINS (not holes). Where there is only one fan power connector, ZMan's method can be used.
Your motherboard's manual will clearly illustrate each type.