transfer information from database to arduino

Hello!
For a school project, I need to use a database( I don't know which format yet xml? php?..)to collect information and send it to Arduino. Then, Arduino should turn on a light according to the data collected. There will be several conditions to take into consideration.
Do you know how to do it?
Thanks!!

If I do your project for you do I get your diploma?

Ahah maybe! This is not an important project, I'm a product designer and I would like to shape a project concretly.

The arduino end is easy.
The bit that takes some working out is how to transfer the spread sheet down the serial line to the arduino.
I would suggest you the free language called Processing to do this. You need to know what firm your database file is in.

bobytroubadour:
Ahah maybe! This is not an important project, I'm a product designer and I would like to shape a project concretly.

The only part of your project that has an answer at the moment is, "Can I send info to an Arduino and have it turn on a light?"

The answer to that is "Yes".

The rest is up to you.