Last week we made a pic of the day script that would show a different image based on the server day of the week and this week we are going to tweak that script and make it so it can show a different picture every day of the month. As mentioned prior, if you have never done any programming before, I strongly urge you to go back to last two courses and read those tutorials first, as the tutorial this week builds on those concepts and it may be difficult to start with this if you don't have those fundamentals down. You might think of arrays as a warehouse with aisles, and each aisle has a number which is called an index number to indentify the string of information on that aisle. Arrays start numbering at zero. Ok it is time to throw you a bit of a curveball.
Programming is good for that.
It is important to remember the next technique using arrays and strings. In the case of arrays, the number that the string contains could be an index number for a reference point in another array. The technique above is essentially what we will be using in our pic of the day script. Next we need to define seven images in an array. They can be any name you want them to be.