Very Basic 2 PIR + Servo

Hi my name is Carl, can you guys help me on this arduino project on mine. I'm sure it is very very basic but it's my first time to use an arduino. I want to make an arduino-based automatic door. Using a servo motor and 2 PIR sensor. The first PIR is to detect if there is any motion and it will open the door using the servo motor. The second PIR is in the opposite side of the first PIR so that it can detect if the motion is inside and make the door close. Can you help me guys make the code. Please help me about this one and sorry for my noobness about this. Thank you! :slight_smile:

check - http://www.arduino.cc/playground/Code/PIRsense - to get started