02.11.2014, 20:51
Take a look into multi-dimensional arrays so you can put all of the data into an array and then take a look at looping. There are plenty of scripts around though that are exactly what you want. Hit up the search button.