If this is a new dryer, I would suggest checking to make sure you have the correct power running to the dryer. There should be 220VAC being run to the dryer....it sound like you have only 110VAC, which would turn the motor, but not have enough power for the heating element.
I had some friends buy a brand new dryer because their previous one was not drying clothes. Here, the people who hooked up their wiring for the dryer only had 110VAC going to it instead of 220VAC.
If the dryer had been previously drying clothes and now is not, then I would suggest the heating element be replaced.
Hope the info helps!