OK, all set. Now to the other problem. How to I make the
php script output the data in the database in a way that the class element on the div alternates. Like this:
- HTML: Select all
<div class="file oddsection"></div>
<div class="file evensection"></div>
That's the only issue right now. How do I do this? I want to tell the
php script to output the data, and alternate the classes "oddsection" and "evensection" so that they look like above, no matter how many divs there are.
Thanks