dryer won't heat

I replaced the igniter but dryer will not heat.

If you replace the ignitor, and the ignitor comes on, you need to replace the coils on the gas valve. If the ignitor does not come on, it is the flame sensor, mounted on the side of the flame tube. Tom