6 divs in html, call a different set of divs in for the next day?

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
Yes my thread title sucks... :D

I have purchased a beginner PHP book, Learning PHP 5 by David Sklar.

The first objective for my PHP adventure is to develop a script that will replace the contents of 6 divs with a different set of 6 divs, on page refresh for each new day.

I basically have 20 offers but only 6 divs (CSS boxes) to put them in, anymore and it gets confusing and annoying.

How would I even start to research this?

Would I need to get all the data inside a MySQL table first? If so how do I do this?
 
All the answers for the exercises are at the back of the book according to a review on Amazon. The chapter for this exercise should provide you with all the material you need to solve this exercise, maybe you should try go through the chapter again.

Have you covered if else statements? case statement? I doubt your need to get data from a MySQL table unless the chapter or previous chapters covered this.
 
Back
Top Bottom