I want to fetch a few rows of data from a MySQL database using PHP. I have 5 different icons, and I want them to be displayed next to every item in a specific order. If there are more than 5 rows in the Database I want the 6th row to have the first icon, the 7th the 2nd, and so on.
PHP I need a for loop to go through array a few times
40 views Asked by Dino Prašo At
1
Some structure like this would work
Or maybe even better would be: