Reading Multiple sensors for arduino uno?

Dear all i am new user to arduino and i would like to ask is there a way to make arduino uno read multiple sensors?
i trying to build a laser maze with multiple solar panel, yet it seems like the second panel is not responding and the 1 st panel function correctly, is there a way i can fix that ?

attached is my programming code:

// These constants won't change:
const int analogPin1 = A0; // Photoresistor at Arduino analog pin A0
const int analogPin2 = A5; // Photoresistor at Arduino analog pin A5

const int LedPin1 = 7; //pin that the laser lv 1 is attached to NO
const int LedPin2 = 8; //pin that the laser lv 2 is attached to NC
const int LedPin3 = 9; //pin that the laser lv 3 is attached to NC

//Variables
int threshold = 150; // Store value from photoresistor (0-1023)

void setup() {
pinMode(analogPin1, INPUT);// Set pResistor - A0 pin as an input
pinMode(analogPin2,INPUT);// Set pResistor - A0 pin as an input
pinMode(LedPin2, OUTPUT);// initialize the laser pin as an output:
pinMode(LedPin1, OUTPUT);
pinMode(LedPin3, OUTPUT);
Serial.begin(9600); // initialize serial communications:

}

void loop() {
{ Serial.println(analogRead(analogPin1)); //sensor 1
Serial.println(analogRead(analogPin2)); //sensor 2

}

// if no one touch laser, keep the laser no. 1 on, 2-3 off//
if (analogRead(analogPin1) >= threshold) {
digitalWrite(LedPin1, HIGH);
digitalWrite(LedPin2, LOW);//laser 2 NC//
digitalWrite(LedPin3, LOW);//laser 3 NC//
}
else
if (analogRead(analogPin1) <= threshold){ // IF SENSOR TRRIGERS//
digitalWrite(LedPin1, HIGH);// keep laser1 on//
digitalWrite(LedPin2, HIGH); // 2nd laser will turn on//
digitalWrite(LedPin3, LOW);//laser 3 NC//
delay(1000);
}
else
if(digitalRead(analogPin2) >= threshold){ // if sensor triggers again, laser 1-3 on//
digitalWrite(LedPin1, HIGH); // if value gets too low, the lv 2 maze will turn on//
digitalWrite(LedPin2, HIGH); // keep laser 2 on//
digitalWrite(LedPin3, HIGH); // keep laser 3 on//
delay(1000);
}
}

Hi.
Please use code tags.
They are mentioned at number 7 here : http://forum.arduino.cc/index.php/topic,148850.0.html

Use indents, spaces, brackets, and so on, always in the same way. That makes it easer to read. If you start doing that now, you will benefit from it a lot.

Your sketch in short is this:

  if ( a >= threshold) 
  {
    ...
  }
  else if ( a <= threshold)
  {
    ...
    delay(1000);
  }
  else if ( b >= threshold)
  {
    ...
    delay(1000);
  }

That means that if 'a' is either <= or >= than the threshold, the 'b' is not even tested.
The use of the delays is strange.

From the sketch (the code) or your explanation, I don't know the conditions when to turn which lasers on or off. You only describe that when laser 1 is on when nothing is activated. That can be done in this way:

  int a = analogRead( analogPin1);
  int b = analogRead( analogPin2);

  if( a >= threshold && b >= threshold)
  {
    digitalWrite(LedPin1, HIGH);
    digitalWrite(LedPin2, LOW);       // laser 2 NC
    digitalWrite(LedPin3, LOW);       // laser 3 NC
  }

An important part of programming is to convert a real world situation into logical programming blocks and logical conditions. Could you not try to make a sketch now, but lean back :wink: and think (or write on a paper or board) what should be done in which condition. Once you know that, then you can type in the code.