multiple input sensor

how i want to interface if i have 2 sensor as input

#define indicateLED 21

// LDR
int sensorPin = A0; // select the input pin for the ldr
unsigned int sensorValue = 0; // variable to store the value coming from the

//VIBRATE
#define SensorLED 14
#define SensorINPUT 3 //Connect the sensor to digital Pin 3 which is Interrupts 1.

unsigned char state = 0;

void setup()
{
// LDR
pinMode(15, OUTPUT);

//VIBRATE
pinMode(SensorLED, OUTPUT);
pinMode(SensorINPUT, INPUT);
attachInterrupt(1, blink, FALLING);// Trigger the blink function when the falling edge is detected
}

void loop()
{
if ((sensorValue<100) || (state!=0))
//digitalWrite(indicateLED,HIGH);

LDR();
VIBRATE();

//else
//digitalWrite(indicateLED,LOW);
}
void blink()//Interrupts function
{
state++;
}

void LDR()
{
//LDR
// read the value from the ldr:
sensorValue = analogRead(sensorPin);
if(sensorValue<100)
digitalWrite(15, HIGH); // set the LED on
else
digitalWrite(15, LOW); // set the LED on
}

void VIBRATE()
{
//VIBRATE
if(state!=0)
{
state = 0;
digitalWrite(SensorLED,HIGH);
delay(500);
}
else
digitalWrite(SensorLED,LOW);
}

i do like this but fail…

mashitah_radzi:
how i want to interface if i have 2 sensor as input

i do like this but fail..

What devices are connected to what pins?

What do you want the sketch to do?

i connect the sensor (ldr, vibration sensor) to the pin..

i want if another on of these sensor get their input (sense something), the output will triggered..
i want to built a system with multiple sensor input.. is it possible??