Why won't this work?

What light are you trying to display? Is it attached to the Arduino? How do you have the LDR hooked up? LDR's do not provide voltage of their own, you need to hook it up to a voltage through a resistor.