home automation-web server - trouble

hi, i am new to arduino and right now i am having issues programming my arduino with a temperature sensor. What i want to do is to give it a temperature that when get passed i want to turn on the AC and if it is above to turn on the heating system. The problem is that when it exceeds temperature it turns on the AC and the heating system and when it is above the temperature it turns off the AC and the heating system simultaneous. Can someone help me?

____________.ino (3.93 KB)

Read http://forum.arduino.cc/index.php?topic=97455.0 to learn how to properly post code.