Guys tell me - how to insert a block into the loop! Ie displays the data from the database to div and for example after 5 diva you need to insert text

Closed due to the fact that the essence of the question is not clear to the participants of zRrr , cheops , VenZell , user194374, Kromster Jun 20 '16 at 4:35 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

1 answer 1

An increase of 5, but I think you need to learn

for ($i=0; $i < ; $i+=5) { # code... }