multiple PIR sensors on same bord

I have managed to rig a pir sensor to the bored but i couldn't get 2 or more to work. Each sensor runs on 5 volts and has a ground and a signal wire that sends a 2 or 3 volt signal or something like that. I have ran both sensors off the 5 volt supply on the bored in series and parallel. When i ran it in parallel one worked, but the other didn't. i have tried to run the signal wires into one with i plug into the input on the bored. should i use 2 inputs? Is there a way to run 2 sensors on the bored? Please help i am new to this.

You may get more help if you post which PIR sensor you are using and the code- some PIR's give an on/off value while others give a variable signal. Which sensor you have determines whether to connect to analog or digital inputs.

But as a first guess yes you will need to use 2 input pins on the arduino to read the 2 sensors. Connect both PIRs power and ground wires in parallel to the power supply then send each output to a separate pin.

Thank you! here is the code i have been using. i did not right it and don't know a thing about c++. any idea on how to right it? i have tried but i cant seem to get it.

// Uses a PIR sensor to detect movement, buzzes a buzzer
// more info here: PIR Sensor Arduino Alarm | Make:
// email me, John Park, at jp@jpixl.net
// based upon:
// PIR sensor tester by Limor Fried of Adafruit
// tone code by michael@thegrebs.com

int ledPin = 13; // choose the pin for the LED
int inputPin = 2; // choose the input pin (for PIR sensor)
int pirState = LOW; // we start, assuming no motion detected
int val = 0; // variable for reading the pin status
int pinSpeaker = 10; //Set up a speaker on a PWM pin (digital 9, 10, or 11)

void setup() {
pinMode(ledPin, OUTPUT); // declare LED as output
pinMode(inputPin, INPUT); // declare sensor as input
pinMode(pinSpeaker, OUTPUT);
Serial.begin(9600);
}

void loop(){
val = digitalRead(inputPin); // read input value
if (val == HIGH) { // check if the input is HIGH
digitalWrite(ledPin, HIGH); // turn LED ON
playTone(300, 160);
delay(150);

if (pirState == LOW) {
// we have just turned on
Serial.println("Motion detected!");
// We only want to print on the output change, not state
pirState = HIGH;
}
} else {
digitalWrite(ledPin, LOW); // turn LED OFF
playTone(0, 0);
delay(300);
if (pirState == HIGH){
// we have just turned off
Serial.println("Motion ended!");
// We only want to print on the output change, not state
pirState = LOW;
}
}
}
// duration in mSecs, frequency in hertz
void playTone(long duration, int freq) {
duration *= 1000;
int period = (1.0 / freq) * 1000000;
long elapsed_time = 0;
while (elapsed_time < duration) {
digitalWrite(pinSpeaker,HIGH);
delayMicroseconds(period / 2);
digitalWrite(pinSpeaker, LOW);
delayMicroseconds(period / 2);
elapsed_time += (period);
}
}

If you want a motion detected by either sensor, simply change
val = digitalRead(inputPin); // read input value
into
val = digitalRead(inputPin) | digitalRead(inputPin2); // read input value
with inputPin2 indicating the pin for the second sensor.