Hey,
I have a For Each loop in my code that returns every book's details, from a category, into a table. The details of the book are displayed in a table:
I want to display the list in 2 columns on my page.
Is there a way to use the for each loop but only display every odd numbered book or even-numbered?
Or does anyone know a simpler way to achieve this?
Thanks
Crabback
I have a For Each loop in my code that returns every book's details, from a category, into a table. The details of the book are displayed in a table:
I want to display the list in 2 columns on my page.
Is there a way to use the for each loop but only display every odd numbered book or even-numbered?
Or does anyone know a simpler way to achieve this?
Thanks
Crabback