First of all, you have to have the data stored somewhere.
You can have them either in CSV or XML or JSON or in a database.
Then it's easy to program.
If you don't give us the exact data, we can only speculate.
Edit History
First of all, you have to have the data stored somewhere.
You can have them either in CSV or XML or in a database.
Then it's easy to program.
If you don't give us the exact data, we can only speculate.